-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathANShareKit.podspec
More file actions
57 lines (49 loc) · 1.95 KB
/
ANShareKit.podspec
File metadata and controls
57 lines (49 loc) · 1.95 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Pod::Spec.new do |s|
s.name = 'ANShareKit'
s.version = '1.3.0'
s.summary = 'Sharing feature to Wechat, SinaWeibo, Tencent'
s.homepage = 'https://github.com/candyan/ANShareKit'
s.license = 'MIT'
s.author = { 'Candyan' => 'liuyanhp@gmail.com' }
s.platform = :ios, '6.0'
s.source = {
:git => 'https://github.com/candyan/ANShareKit.git',
:tag => s.version.to_s
}
s.subspec 'Core' do |core|
core.source_files = 'Classes/*.{h,m}'
core.resources = 'Resources/ANShareKit.xcassets'
core.libraries = 'sqlite3', 'z', 'c++'
core.frameworks = 'SystemConfiguration', 'CoreTelephony'
core.dependency 'Masonry'
core.dependency 'FXBlurView'
core.requires_arc = true
end
s.subspec 'Weixin' do |wxs|
wxs.source_files = 'Classes/Category/Weixin/*.{h,m}'
wxs.dependency 'XXWeChatSDK', '~>1.8.2'
wxs.xcconfig = {"GCC_PREPROCESSOR_DEFINITIONS" => 'AN_WEIXIN_SHARE=1'}
wxs.dependency 'ANShareKit/Core'
end
s.subspec 'SinaWeibo' do |swbs|
swbs.source_files = 'Classes/Category/SinaWeibo/*.{h,m}'
swbs.dependency 'Weibo_SDK', '~>3.2.3'
swbs.xcconfig = {"GCC_PREPROCESSOR_DEFINITIONS" => 'AN_SINAWB_SHARE=1'}
swbs.dependency 'ANShareKit/Core'
end
s.subspec 'Tencent' do |ts|
ts.source_files = 'Classes/Category/Tencent/*.{h,m}'
ts.dependency 'FBTencentOpenAPI', '~> 3.3.3'
ts.xcconfig = {"GCC_PREPROCESSOR_DEFINITIONS" => 'AN_TENCENT_SHARE=1'}
ts.dependency 'ANShareKit/Core'
ts.frameworks = 'TencentOpenAPI'
end
s.subspec 'Tencent-32bit' do |ts32|
ts32.source_files = 'Classes/Category/Tencent/*.{h,m}'
ts32.dependency 'TencentOpenApiSDK/32bit', '~> 2.3.1.1'
ts32.xcconfig = {"GCC_PREPROCESSOR_DEFINITIONS" => 'AN_TENCENT_SHARE=1'}
ts32.dependency 'ANShareKit/Core'
ts32.frameworks = 'TencentOpenAPI'
end
s.default_subspec = 'Weixin', 'SinaWeibo', 'Tencent'
end