Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating podspec to 1.0RC4

  • Loading branch information...
commit 07270cd20cdeaccbe54145f18d0c76f9d6f1ac3c 1 parent 7c789b3
@mattt mattt authored
Showing with 16 additions and 3 deletions.
  1. +16 −3 AFNetworking.podspec
View
19 AFNetworking.podspec
@@ -5,10 +5,23 @@ Pod::Spec.new do |s|
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.0RC3' }
+ s.source = { :git => 'https://github.com/AFNetworking/AFNetworking.git', :tag => '1.0RC4' }
s.source_files = 'AFNetworking'
s.requires_arc = true
- s.framework = 'SystemConfiguration'
- s.prefix_header_contents = "#import <SystemConfiguration/SystemConfiguration.h>"
+ 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
+#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
end
Please sign in to comment.
Something went wrong with that request. Please try again.