-
Notifications
You must be signed in to change notification settings - Fork 28
/
SKYKit.podspec
66 lines (50 loc) · 2.12 KB
/
SKYKit.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Pod::Spec.new do |s|
s.name = "SKYKit"
s.version = "1.6.0"
s.summary = "iOS SDK for Skygear"
s.description = <<-DESC
This is the client library for Skygear backend.
DESC
s.homepage = "https://github.com/SkygearIO/skygear-SDK-iOS"
s.license = 'Apache License, Version 2.0'
s.author = { "Oursky Ltd." => "hello@oursky.com" }
s.source = { :git => "https://github.com/SkygearIO/skygear-SDK-iOS.git", :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.default_subspecs = 'Core', 'Core-Swift', 'ForgotPassword', 'SSO'
s.subspec 'Core' do |core|
core.requires_arc = true
core.ios.deployment_target = '8.0'
core.osx.deployment_target = '10.10'
core.source_files = 'Pod/Classes/**/*.{h,m}'
core.private_header_files = 'Pod/Classes/**/*_Private.h'
core.dependency 'SocketRocket', '~> 0.4'
core.dependency 'MagicKit-Skygear', '~> 0.0.6'
core.dependency 'XMLDictionary', '~> 1.4.1'
core.dependency 'UICKeyChainStore', '~> 2.1.0'
end
s.subspec 'Core-Swift' do |core|
core.source_files = 'Pod/Classes/**/*.{swift}'
core.dependency 'SKYKit/Core'
end
s.subspec 'Facebook' do |facebook|
facebook.ios.deployment_target = '8.0'
facebook.source_files = 'Pod/Extensions/Facebook/**/*.{h,m}'
facebook.requires_arc = true
# Allow the weak linking to Bolts (see FBSDKAppLinkResolver.h) in Cocoapods 0.39.0
facebook.pod_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
facebook.dependency 'SKYKit/Core'
facebook.dependency 'FBSDKCoreKit', '~> 4.0'
end
s.subspec 'ForgotPassword' do |forgotPassword|
forgotPassword.ios.deployment_target = '8.0'
forgotPassword.source_files = 'Pod/Extensions/Forgot Password/**/*.{h,m}'
forgotPassword.requires_arc = true
forgotPassword.dependency 'SKYKit/Core'
end
s.subspec 'SSO' do |sso|
sso.ios.deployment_target = '8.0'
sso.source_files = 'Pod/Extensions/SSO/**/*.{h,m}'
sso.requires_arc = true
sso.dependency 'SKYKit/Core'
end
end