Skip to content

Commit

Permalink
Adding podspec for AFNetworking 2.0.0
Browse files Browse the repository at this point in the history
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

mattt committed Sep 27, 2013
1 parent 6585125 commit f085b71
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions AFNetworking/2.0.0/AFNetworking.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
Pod::Spec.new do |s|
s.name = 'AFNetworking'
s.version = '2.0.0'
s.license = 'MIT'
s.summary = 'A delightful iOS and OS X networking framework.'
s.homepage = 'https://github.com/AFNetworking/AFNetworking'
s.authors = { 'Mattt Thompson' => 'm@mattt.me' }
s.source = { :git => 'https://github.com/AFNetworking/AFNetworking.git', :tag => "2.0.0", :submodules => true }
s.requires_arc = true

s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.8'

s.public_header_files = 'AFNetworking/*.h'

s.subspec 'Serialization' do |ss|
ss.source_files = 'AFNetworking/AFURL{Request,Response}Serialization.{h,m}'
ss.ios.frameworks = 'MobileCoreServices', 'CoreGraphics'
ss.osx.frameworks = 'CoreServices'
end

s.subspec 'Security' do |ss|
ss.source_files = 'AFNetworking/AFSecurityPolicy.{h,m}'
ss.frameworks = 'Security'
end

s.subspec 'Reachability' do |ss|
ss.source_files = 'AFNetworking/AFNetworkReachabilityManager.{h,m}'
ss.frameworks = 'SystemConfiguration'
end

s.subspec 'NSURLConnection' do |ss|
ss.dependency 'AFNetworking/Serialization'
ss.dependency 'AFNetworking/Reachability'
ss.dependency 'AFNetworking/Security'

ss.source_files = 'AFNetworking/AFURLConnectionOperation.{h,m}', 'AFNetworking/AFHTTPRequestOperation.{h,m}', 'AFNetworking/AFHTTPRequestOperationManager.{h,m}'
end

s.subspec 'NSURLSession' do |ss|
ss.ios.deployment_target = '7.0'
ss.osx.deployment_target = '10.9'

ss.dependency 'AFNetworking/Serialization'
ss.dependency 'AFNetworking/Reachability'
ss.dependency 'AFNetworking/Security'

ss.source_files = 'AFNetworking/AFURLSessionManager.{h,m}', 'AFNetworking/AFHTTPSessionManager.{h,m}'
end

s.subspec 'UIKit' do |ss|
ss.ios.deployment_target = '6.0'

ss.dependency 'AFNetworking/NSURLConnection'

ss.ios.public_header_files = 'UIKit+AFNetworking/*.h'
ss.ios.source_files = 'UIKit+AFNetworking'
ss.osx.source_files = ''
end
end

0 comments on commit f085b71

Please sign in to comment.