2011-11-11 11:32:21 -06:00
|
|
|
Pod::Spec.new do |s|
|
2011-11-11 13:09:38 -06:00
|
|
|
s.name = 'AFNetworking'
|
2013-04-18 07:47:53 +02:00
|
|
|
s.version = '1.2.1'
|
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-10-14 11:42:59 -07:00
|
|
|
s.authors = { 'Mattt Thompson' => 'm@mattt.me', 'Scott Raymond' => 'sco@gowalla.com' }
|
2013-04-18 07:47:53 +02:00
|
|
|
s.source = { :git => 'https://github.com/AFNetworking/AFNetworking.git', :tag => '1.2.1' }
|
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'
|
2013-02-08 15:11:06 +01:00
|
|
|
s.ios.frameworks = 'MobileCoreServices', 'SystemConfiguration', 'Security'
|
2012-10-05 11:01:59 -07:00
|
|
|
|
|
|
|
|
s.osx.deployment_target = '10.7'
|
2013-02-08 15:11:06 +01:00
|
|
|
s.osx.frameworks = 'CoreServices', 'SystemConfiguration', 'Security'
|
2012-10-05 11:01:59 -07:00
|
|
|
|
|
|
|
|
s.prefix_header_contents = <<-EOS
|
2012-10-05 15:06:12 -04:00
|
|
|
#import <Availability.h>
|
2013-02-08 15:11:06 +01:00
|
|
|
|
|
|
|
|
#define _AFNETWORKING_PIN_SSL_CERTIFICATES_
|
|
|
|
|
|
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
|