forked from box/box-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbox-ios-content-sdk.podspec
51 lines (39 loc) · 1.82 KB
/
box-ios-content-sdk.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|
# Root specification
s.name = "box-ios-content-sdk"
s.version = "1.0.1"
s.summary = "iOS SDK for the Box Content API"
s.homepage = "https://github.com/box/box-ios-content-sdk"
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
s.author = "Box"
s.source = { :git => "https://github.com/box/box-ios-content-sdk.git", :tag => "v#{s.version}" }
# Platform
s.ios.deployment_target = "7.0"
# File patterns
s.ios.source_files = "BoxContentSDK/BoxContentSDK/*.{h,m}", "BoxContentSDK/BoxContentSDK/**/*.{h,m}"
s.ios.exclude_files = "BoxContentSDK/BoxContentSDK/External/ISO8601DateFormatter/BOXISO8601DateFormatter.{h,m}",
"BoxContentSDK/BoxContentSDK/External/KeychainItemWrapper/BOXKeychainItemWrapper.{h,m}"
s.ios.public_header_files = "BoxContentSDK/BoxContentSDK/*.h", "BoxContentSDK/BoxContentSDK/**/*.h"
s.resource_bundle = {
'BoxContentSDKResources' => [
'BoxContentSDK/BoxContentSDKResources/Assets/*.*',
'BoxContentSDK/BoxContentSDKResources/Icons/*.*',
'BoxContentSDK/BoxContentSDKResources/*.lproj'
]
}
# Build settings
s.ios.frameworks = "Security", "QuartzCore", "AssetsLibrary"
s.requires_arc = true
s.xcconfig = { "OTHER_LDFLAGS" => "-ObjC -all_load" }
s.ios.header_dir = "BoxContentSDK"
# Subspecs
s.subspec "logger" do |sp|
sp.source_files = "BoxContentSDK/BoxContentSDK/BOXLog.h"
end
s.subspec "no-arc" do |sp|
sp.dependency "box-ios-content-sdk/logger"
sp.source_files = "BoxContentSDK/BoxContentSDK/External/ISO8601DateFormatter/BOXISO8601DateFormatter.{h,m}",
"BoxContentSDK/BoxContentSDK/External/KeychainItemWrapper/BOXKeychainItemWrapper.{h,m}"
sp.requires_arc = false
end
end