Permalink
Browse files

Adding AFNetworking 1.2.0 podspec

  • Loading branch information...
1 parent 1d6e40e commit dc9d36fdf7319761a269cbc67f5e9340127f9cb8 @mattt mattt committed Mar 24, 2013
Showing with 30 additions and 0 deletions.
  1. +30 −0 AFNetworking/1.2.0/AFNetworking.podspec
@@ -0,0 +1,30 @@
+Pod::Spec.new do |s|
+ s.name = 'AFNetworking'
+ s.version = '1.2.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', 'Scott Raymond' => 'sco@gowalla.com' }
+ s.source = { :git => 'https://github.com/AFNetworking/AFNetworking.git', :tag => '1.2.0' }
+ s.source_files = 'AFNetworking'
+ s.requires_arc = true
+
+ 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
+#ifdef __OBJC__
+#import <Availability.h>
+#if __IPHONE_OS_VERSION_MIN_REQUIRED
+ #import <SystemConfiguration/SystemConfiguration.h>
+ #import <MobileCoreServices/MobileCoreServices.h>
+#else
+ #import <SystemConfiguration/SystemConfiguration.h>
+ #import <CoreServices/CoreServices.h>
+#endif
+#endif /* __OBJC__*/
+EOS
+end

0 comments on commit dc9d36f

Please sign in to comment.