-
Notifications
You must be signed in to change notification settings - Fork 2
/
KarhooUISDK.podspec
41 lines (35 loc) · 1.45 KB
/
KarhooUISDK.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
Pod::Spec.new do |s|
s.name = "KarhooUISDK"
s.version = "1.13.4"
s.summary = "Karhoo UI SDK"
s.homepage = "https://developer.karhoo.com/docs/build-apps-using-sdks"
s.license = 'BSD 2-Clause'
s.author = { "Karhoo" => "ios@karhoo.com" }
s.source = { :git => "https://github.com/karhoo/karhoo-ios-ui-sdk.git", :tag => s.version }
s.platform = :ios, '14.0'
s.ios.deployment_target = '14.0'
s.requires_arc = true
s.resource_bundles = {'KarhooUISDK' => ['KarhooUISDK/PrivacyInfo.xcprivacy']}
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.dependency 'KarhooSDK'
core.source_files = 'KarhooUISDK/**/*.swift'
core.exclude_files = 'KarhooUISDK/Extensions/Bundle+extensions/BundleSPM+current.swift'
core.resource_bundles = {
'KarhooUISDKResource' => [
'KarhooUISDK/**/*{xib,storyboard,xcassets,strings,stringsdict,bundle,lproj}'
]
}
end
s.subspec 'Adyen' do |adyen|
adyen.dependency 'KarhooUISDK/Core'
adyen.dependency 'Adyen', '4.7.2'
adyen.source_files = 'AdyenPSP/**/*.swift'
end
s.subspec 'Braintree' do |braintree|
braintree.dependency 'KarhooUISDK/Core'
braintree.dependency 'BraintreeDropIn', '~> 9.8.1'
braintree.dependency 'Braintree/PaymentFlow', '~> 5.20.1'
braintree.source_files = 'BraintreePSP/**/*.swift'
end
end