-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathShopifyCheckoutKit.podspec
More file actions
47 lines (38 loc) · 1.55 KB
/
ShopifyCheckoutKit.podspec
File metadata and controls
47 lines (38 loc) · 1.55 KB
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.version = "3.8.0"
s.name = "ShopifyCheckoutKit"
s.summary = "Enables Swift apps to embed the Shopify's highest converting, customizable, one-page checkout."
s.author = "Shopify Inc."
s.homepage = "https://github.com/Shopify/checkout-kit"
s.readme = "https://github.com/Shopify/checkout-kit/blob/main/README.md"
s.changelog = "https://github.com/Shopify/checkout-kit/releases"
s.license = { :type => "MIT", :file => "LICENSE" }
s.source = {
:git => "https://github.com/Shopify/checkout-kit.git", :tag => s.version.to_s
}
s.swift_version = "5.0"
s.ios.deployment_target = "13.0"
s.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-package-name ShopifyCheckoutKit -DCOCOAPODS'
}
s.default_subspecs = 'Core'
s.subspec 'Core' do |core|
core.source_files = [
'platforms/swift/Sources/ShopifyCheckoutKit/**/*.swift',
'protocol/languages/swift/Sources/ShopifyCheckoutProtocol/**/*.swift',
]
core.resource_bundles = {
'ShopifyCheckoutKit' => ['platforms/swift/Sources/ShopifyCheckoutKit/Assets.xcassets']
}
end
s.subspec 'AcceleratedCheckouts' do |accelerated|
accelerated.source_files = 'platforms/swift/Sources/ShopifyAcceleratedCheckouts/**/*.swift'
accelerated.dependency 'ShopifyCheckoutKit/Core'
accelerated.resource_bundles = {
'ShopifyAcceleratedCheckouts' => [
'platforms/swift/Sources/ShopifyAcceleratedCheckouts/Localizable.xcstrings',
'platforms/swift/Sources/ShopifyAcceleratedCheckouts/Media.xcassets',
]
}
end
end