-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathShopifyCheckoutSheetKit.podspec
More file actions
41 lines (32 loc) · 1.43 KB
/
ShopifyCheckoutSheetKit.podspec
File metadata and controls
41 lines (32 loc) · 1.43 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
Pod::Spec.new do |s|
s.version = "3.8.0"
s.name = "ShopifyCheckoutSheetKit"
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-sheet-kit-swift"
s.readme = "https://github.com/Shopify/checkout-sheet-kit-swift/blob/main/README.md"
s.changelog = "https://github.com/Shopify/checkout-sheet-kit-swift/releases"
s.license = { :type => "MIT", :file => "LICENSE" }
s.source = {
:git => "https://github.com/Shopify/checkout-sheet-kit-swift.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 ShopifyCheckoutSheetKit -DCOCOAPODS'
}
s.default_subspecs = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'Sources/ShopifyCheckoutSheetKit/**/*.swift'
core.resource_bundles = {
'ShopifyCheckoutSheetKit' => ['Sources/ShopifyCheckoutSheetKit/Assets.xcassets']
}
end
s.subspec 'AcceleratedCheckouts' do |accelerated|
accelerated.source_files = 'Sources/ShopifyAcceleratedCheckouts/**/*.swift'
accelerated.dependency 'ShopifyCheckoutSheetKit/Core'
accelerated.resource_bundles = {
'ShopifyAcceleratedCheckouts' => ['Sources/ShopifyAcceleratedCheckouts/Localizable.xcstrings', 'Sources/ShopifyAcceleratedCheckouts/Media.xcassets']
}
end
end