-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathDiplomat.podspec
39 lines (34 loc) · 1.33 KB
/
Diplomat.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Pod::Spec.new do |s|
s.name = "Diplomat"
s.version = "0.4.3"
s.summary = "The third party SDKs unified API lib."
s.homepage = "https://github.com/cloudorz/Diplomat"
s.license = { :type => 'MIT License', :file => 'LICENSE' }
s.author = { "Cloud" => "cloudcry@gmail.com" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/cloudorz/Diplomat.git", :tag => "#{s.version}" }
s.frameworks = "SystemConfiguration", "ImageIO", "CoreTelephony"
s.libraries = "stdc++", "sqlite3", "z"
s.requires_arc = true
s.module_map = "Sources/module.modulemap"
s.subspec 'Core' do |core|
core.source_files = "Sources/*.{h,m}"
core.resources = "Sources/*.md"
end
s.subspec 'Weibo' do |weibo|
weibo.dependency 'Diplomat/Core'
weibo.source_files = "Sources/Weibo/*.{h,m}"
weibo.resources = "Sources/Weibo/*.bundle"
weibo.vendored_libraries = "Sources/Weibo/*.a"
end
s.subspec 'Wechat' do |wechat|
wechat.dependency 'Diplomat/Core'
wechat.source_files = "Sources/Wechat/*.{h,m}"
wechat.vendored_libraries = "Sources/Wechat/*.a"
end
s.subspec 'Tencent' do |tencent|
tencent.dependency 'Diplomat/Core'
tencent.source_files = "Sources/Tencent/*.{h,m}"
tencent.vendored_frameworks = "Sources/Tencent/TencentOpenAPI.framework"
end
end