forked from AFNetworking/AFOAuth1Client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
AFOAuth1Client.podspec
35 lines (29 loc) · 1.15 KB
/
AFOAuth1Client.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Pod::Spec.new do |s|
s.name = "AFOAuth1Client"
s.version = "0.3.1"
s.summary = "AFNetworking Extension for OAuth 1.0a Authentication."
s.homepage = "https://github.com/AFNetworking/AFOAuth1Client"
s.license = 'MIT'
s.author = { 'Mattt Thompson' => '[email protected]' }
s.source = { :git => "https://github.com/AFNetworking/AFOAuth1Client.git", :tag => '0.3.1' }
s.source_files = 'AFOAuth1Client'
s.requires_arc = true
s.ios.deployment_target = '5.0'
s.ios.frameworks = 'MobileCoreServices', 'SystemConfiguration', 'Security', 'CoreGraphics'
s.osx.deployment_target = '10.7'
s.osx.frameworks = 'CoreServices', 'SystemConfiguration', 'Security'
s.dependency 'AFNetworking', '~> 1.3'
s.prefix_header_contents = <<-EOS
#import <Availability.h>
#define _AFNETWORKING_PIN_SSL_CERTIFICATES_
#if __IPHONE_OS_VERSION_MIN_REQUIRED
#import <SystemConfiguration/SystemConfiguration.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import <Security/Security.h>
#else
#import <SystemConfiguration/SystemConfiguration.h>
#import <CoreServices/CoreServices.h>
#import <Security/Security.h>
#endif
EOS
end