2011-11-11 11:32:21 -06:00
|
|
|
Pod::Spec.new do |s|
|
2011-11-11 13:09:38 -06:00
|
|
|
s.name = 'AFNetworking'
|
2012-09-17 12:03:26 -07:00
|
|
|
s.version = '1.0'
|
2012-01-23 09:10:59 -08:00
|
|
|
s.license = 'MIT'
|
2012-08-29 10:04:16 -07:00
|
|
|
s.summary = 'A delightful iOS and OS X networking framework.'
|
2011-11-11 13:09:38 -06:00
|
|
|
s.homepage = 'https://github.com/AFNetworking/AFNetworking'
|
2012-09-17 12:10:43 -07:00
|
|
|
s.authors = {'Mattt Thompson' => 'm@mattt.me', 'Scott Raymond' => 'sco@gowalla.com'}
|
2012-10-05 11:01:59 -07:00
|
|
|
s.source = { :git => 'https://github.com/AFNetworking/AFNetworking.git', :tag => '1.0RC4' }
|
2011-11-11 13:09:38 -06:00
|
|
|
s.source_files = 'AFNetworking'
|
2012-09-17 12:01:24 -07:00
|
|
|
s.requires_arc = true
|
2012-09-17 12:10:43 -07:00
|
|
|
|
2012-10-05 11:01:59 -07:00
|
|
|
s.ios.deployment_target = '5.0'
|
|
|
|
|
s.ios.frameworks = 'MobileCoreServices', 'SystemConfiguration'
|
|
|
|
|
|
|
|
|
|
s.osx.deployment_target = '10.7'
|
|
|
|
|
s.osx.frameworks = 'CoreServices', 'SystemConfiguration'
|
|
|
|
|
|
|
|
|
|
s.prefix_header_contents = <<-EOS
|
2012-10-05 15:06:12 -04:00
|
|
|
#import <Availability.h>
|
2012-10-05 11:01:59 -07:00
|
|
|
#if __IPHONE_OS_VERSION_MIN_REQUIRED
|
|
|
|
|
#import <SystemConfiguration/SystemConfiguration.h>
|
|
|
|
|
#import <MobileCoreServices/MobileCoreServices.h>
|
|
|
|
|
#else
|
|
|
|
|
#import <SystemConfiguration/SystemConfiguration.h>
|
|
|
|
|
#import <CoreServices/CoreServices.h>
|
|
|
|
|
#endif
|
|
|
|
|
EOS
|
2011-11-11 13:09:38 -06:00
|
|
|
end
|