forked from thiagoperes/IDMPhotoBrowser
-
Notifications
You must be signed in to change notification settings - Fork 1
/
IDMPhotoBrowser.podspec
51 lines (39 loc) · 1.47 KB
/
IDMPhotoBrowser.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Pod::Spec.new do |s|
s.name = "IDMPhotoBrowser"
s.version = "1.2.4"
s.summary = "IDMPhotoBrowser."
s.homepage = "https://github.com/appkraft/IDMPhotoBrowser"
s.license = { :type => 'MIT', :file => 'LICENSE.txt' }
s.author = { "Appkraft" => "all@appkraft.net" }
s.source = {
:git => "https://github.com/appkraft/IDMPhotoBrowser.git",
:tag => "1.2.4"
}
s.platform = :ios, '5.0'
s.source_files = 'Classes/*.{h,m}'
s.resources = 'Classes/IDMPhotoBrowser.bundle'
s.framework = 'MessageUI', 'QuartzCore'
s.dependency 'DACircularProgress', '~> 2.1.0'
s.dependency 'SVProgressHUD', '~> 0.9'
s.requires_arc = true
s.subspec 'Network' do |ns|
ns.source_files = 'Code/Network.h', 'Code/Network'
ns.ios.frameworks = 'CFNetwork', 'Security', 'MobileCoreServices', 'SystemConfiguration'
ns.osx.frameworks = 'CoreServices', 'Security', 'SystemConfiguration'
ns.dependency 'SOCKit'
ns.dependency 'AFNetworking', '~> 1.3.0'
ns.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
end