Adding Security frameworks to podspec, and defining _AFNETWORKING_PIN_SSL_CERTIFICATES_
This commit is contained in:
parent
8215c43680
commit
effd1136d2
1 changed files with 5 additions and 2 deletions
|
|
@ -10,13 +10,16 @@ Pod::Spec.new do |s|
|
||||||
s.requires_arc = true
|
s.requires_arc = true
|
||||||
|
|
||||||
s.ios.deployment_target = '5.0'
|
s.ios.deployment_target = '5.0'
|
||||||
s.ios.frameworks = 'MobileCoreServices', 'SystemConfiguration'
|
s.ios.frameworks = 'MobileCoreServices', 'SystemConfiguration', 'Security'
|
||||||
|
|
||||||
s.osx.deployment_target = '10.7'
|
s.osx.deployment_target = '10.7'
|
||||||
s.osx.frameworks = 'CoreServices', 'SystemConfiguration'
|
s.osx.frameworks = 'CoreServices', 'SystemConfiguration', 'Security'
|
||||||
|
|
||||||
s.prefix_header_contents = <<-EOS
|
s.prefix_header_contents = <<-EOS
|
||||||
#import <Availability.h>
|
#import <Availability.h>
|
||||||
|
|
||||||
|
#define _AFNETWORKING_PIN_SSL_CERTIFICATES_
|
||||||
|
|
||||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED
|
#if __IPHONE_OS_VERSION_MIN_REQUIRED
|
||||||
#import <SystemConfiguration/SystemConfiguration.h>
|
#import <SystemConfiguration/SystemConfiguration.h>
|
||||||
#import <MobileCoreServices/MobileCoreServices.h>
|
#import <MobileCoreServices/MobileCoreServices.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue