AFNetworking/AFNetworking.podspec
Mattt Thompson 78d7a96fbc Squashed commit of the following:
commit b71139c2bca91b8610f2a373df85c3a8a161585c
Author: Mattt Thompson <m@mattt.me>
Date:   Wed Jun 11 12:44:53 2014 -0700

    Separating session subspec from connection subspec

commit b39dac5ed9fbe120dc4d27c73fd742513dc15796
Author: Mattt Thompson <m@mattt.me>
Date:   Wed Jun 11 12:41:12 2014 -0700

    Splitting AFNetworkingErrorDomain into AFURLRequestSerializationErrorDomain and AFURLResponseSerializationErrorDomain

commit b8a31216df7c4b8674f1795dfaf6fb4438a451c5
Merge: 0ec17bd d5e2295
Author: Mattt Thompson <m@mattt.me>
Date:   Wed Jun 11 12:11:24 2014 -0700

    Merge branch 'serialization-stands-alone' of github.com:nolanw/AFNetworking into nolanw-serialization-stands-alone

commit d5e229540c45632fcdaee3069864c1e2d7a97de4
Author: Nolan Waite <nolan@nolanw.ca>
Date:   Wed Jun 4 18:30:56 2014 -0300

    Move string constants used by Serialization subspec into Serialization subspec

    Arbitrarily picked AFURLRequestSerialization.[hm] even though AFNetworkingOperationFailingURLResponseErrorKey probably fits better in AFURLResponseSerialization.[hm]
2014-06-11 12:45:24 -07:00

61 lines
2.0 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'AFNetworking'
s.version = '2.2.4'
s.license = 'MIT'
s.summary = 'A delightful iOS and OS X networking framework.'
s.homepage = 'https://github.com/AFNetworking/AFNetworking'
s.social_media_url = 'https://twitter.com/AFNetworking'
s.authors = { 'Mattt Thompson' => 'm@mattt.me' }
s.source = { :git => 'https://github.com/AFNetworking/AFNetworking.git', :tag => "2.2.4", :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.source_files = 'AFNetworking/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.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.dependency 'AFNetworking/NSURLSession'
ss.ios.public_header_files = 'UIKit+AFNetworking/*.h'
ss.ios.source_files = 'UIKit+AFNetworking'
ss.osx.source_files = ''
end
end