Skip to content

Commit

Permalink
Update AFNetworking.podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
scottvallance committed May 17, 2013
1 parent 0f9a4b0 commit 46c3460
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AFNetworking/1.2.1/AFNetworking.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,18 @@ Pod::Spec.new do |s|
s.osx.frameworks = 'CoreServices', 'SystemConfiguration', 'Security'

s.prefix_header_contents = <<-EOS
#import <Availability.h>
#define _AFNETWORKING_PIN_SSL_CERTIFICATES_
#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
EOS
end

0 comments on commit 46c3460

Please sign in to comment.