|
|
Pod::Spec.new do |s|
|
|
|
s.name = 'YH_AFNetworking3'
|
|
|
s.version = '3.1.3'
|
|
|
s.license = 'MIT'
|
|
|
s.summary = 'A delightful iOS and OS X networking framework.'
|
|
|
s.homepage = 'http://git.yoho.cn/ios/YH_AFNetworking3'
|
|
|
s.author = { "iOSdev" => "iosdev@yoho.cn" }
|
|
|
s.source = { :git => 'http://git.yoho.cn/ios/YH_AFNetworking3.git'}
|
|
|
s.platform = :ios, '8.0'
|
|
|
s.requires_arc = true
|
|
|
s.frameworks = 'Foundation', 'CoreGraphics', 'MobileCoreServices', 'Security', 'SystemConfiguration'
|
|
|
|
|
|
s.subspec 'AFNetworking' do |ss|
|
|
|
ss.source_files = 'AFNetworking/*.{h,m}'
|
|
|
ss.requires_arc = true
|
|
|
end
|
|
|
|
|
|
s.subspec 'UIKit+AFNetworking' do |ss|
|
|
|
ss.dependency "YH_AFNetworking3/AFNetworking"
|
|
|
ss.source_files = 'UIKit+AFNetworking/*.{h,m}'
|
|
|
ss.requires_arc = true
|
|
|
end
|
|
|
|
|
|
s.subspec 'Util' do |ss|
|
|
|
ss.source_files = 'Util/*.{h,m}'
|
|
|
ss.requires_arc = true
|
|
|
end
|
|
|
|
|
|
end |
...
|
...
|
|