-
Notifications
You must be signed in to change notification settings - Fork 130
/
WHCNetWorkKit.podspec
53 lines (41 loc) · 1.9 KB
/
WHCNetWorkKit.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Pod::Spec.new do |s|
s.name = 'WHCNetWorkKit'
s.version = '0.0.3'
s.summary = 'WHCNetWorkKit 是http网络请求开源库(支持GET/POST 文件上传 后台文件下载 UIButton UIImageView 控件设置网络图片 网络数据工具json/xml 转模型类对象 网络状态监听)'
s.homepage = 'https://github.com/netyouli/WHCNetWorkKit'
#s.screenshots = 'https://github.com/netyouli/WHCNetWorkKit/blob/master/show.gif'
s.license = 'MIT'
s.author = { '吴海超' => '[email protected]' }
s.platform = :ios, '7.0'
s.ios.deployment_target = '7.0'
#s.osx.deployment_target = '10.8'
#s.watchos.deployment_target = '2.0'
#s.tvos.deployment_target = '9.0'
s.source = { :git => 'https://github.com/netyouli/WHCNetWorkKit.git', :tag => s.version, :submodules => true}
s.source_files = 'WHCNetWorkKit/*.h'
s.public_header_files = 'WHCNetWorkKit/*.h'
s.subspec 'Reachability' do |ss|
ss.source_files = 'WHCNetWorkKit/Reachability/*.{h,m}'
ss.public_header_files = 'WHCNetWorkKit/Reachability/*.h'
end
s.subspec 'NSURLConnection' do |ss|
ss.dependency 'WHCNetWorkKit/Reachability'
ss.source_files = 'WHCNetWorkKit/NSURLConnection/*.{h,m}'
ss.public_header_files = 'WHCNetWorkKit/NSURLConnection/*.h'
end
s.subspec 'NSURLSession' do |ss|
ss.dependency 'WHCNetWorkKit/NSURLConnection'
ss.source_files = 'WHCNetWorkKit/NSURLSession/*.{h,m}'
ss.public_header_files = 'WHCNetWorkKit/NSURLSession/*.h'
end
s.subspec 'UIKit' do |ss|
ss.dependency 'WHCNetWorkKit/NSURLConnection'
ss.source_files = 'WHCNetWorkKit/UIKit+WHCNetWorkKit/*.{h,m}'
ss.public_header_files = 'WHCNetWorkKit/UIKit+WHCNetWorkKit/*.h'
end
s.subspec 'UtillKit' do |ss|
ss.source_files = 'WHCNetWorkKit/UtilKit+WHCNetWorkKit/*.{h,m}'
ss.public_header_files = 'WHCNetWorkKit/UtilKit+WHCNetWorkKit/*.h'
end
s.requires_arc = true
end