forked from MobileWalletProtocol/wallet-mobile-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CoinbaseWalletSDK.podspec
47 lines (40 loc) · 1.5 KB
/
CoinbaseWalletSDK.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
Pod::Spec.new do |s|
s.name = 'CoinbaseWalletSDK'
s.version = '1.0.4'
s.summary = 'Swift implementation of WalletSegue protocol to interact with Coinbase Wallet iOS app'
s.source = { :git => 'https://github.com/coinbase/wallet-mobile-sdk.git', :tag => s.version }
s.author = 'Coinbase Wallet'
s.social_media_url = 'https://twitter.com/CoinbaseWallet'
s.homepage = 'https://github.com/coinbase/wallet-mobile-sdk'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.ios.deployment_target = '12.0'
s.swift_version = '5.0'
SDK_PATH = 'ios/CoinbaseWalletSDK'
s.subspec 'Core' do |ss|
ss.source_files = "#{SDK_PATH}/**/*.swift"
ss.exclude_files = [
"#{SDK_PATH}/Client/**/*.swift",
"#{SDK_PATH}/Host/**/*.swift",
"#{SDK_PATH}/Test/**/*.swift"
]
end
s.subspec 'Client' do |ss|
ss.dependency 'CoinbaseWalletSDK/Core'
ss.source_files = "#{SDK_PATH}/Client/**/*.swift"
end
s.subspec 'Host' do |ss|
ss.dependency 'CoinbaseWalletSDK/Core'
ss.source_files = "#{SDK_PATH}/Host/**/*.swift"
end
s.subspec 'CrossPlatform' do |ss|
ss.dependency 'CoinbaseWalletSDK/Client'
ss.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-DCROSS_PLATFORM'
}
end
s.test_spec 'Test' do |ts|
ts.ios.deployment_target = '13.0'
ts.source_files = "#{SDK_PATH}/Test/**/*.swift"
end
s.default_subspec = 'Client'
end