forked from Adyen/adyen-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Adyen.podspec
113 lines (98 loc) · 3.49 KB
/
Adyen.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Pod::Spec.new do |s|
s.name = 'Adyen'
s.version = '5.13.0'
s.summary = "Adyen Components for iOS"
s.description = <<-DESC
Adyen Components for iOS allows you to accept in-app payments by providing you with the building blocks you need to create a checkout experience.
DESC
s.homepage = 'https://adyen.com'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Adyen' => '[email protected]' }
s.source = { :git => 'https://github.com/Adyen/adyen-ios.git', :tag => "#{s.version}" }
s.platform = :ios
s.ios.deployment_target = '12.0'
s.swift_version = '5.7'
s.frameworks = 'Foundation'
s.default_subspecs = 'Core', 'Components', 'Actions', 'Card', 'Encryption', 'DropIn', 'Session'
s.pod_target_xcconfig = {'SWIFT_SUPPRESS_WARNINGS' => 'YES' }
s.subspec 'DropIn' do |plugin|
plugin.source_files = 'AdyenDropIn/**/*.swift'
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/Actions'
plugin.dependency 'Adyen/Card'
plugin.dependency 'Adyen/Encryption'
plugin.dependency 'Adyen/Components'
end
# Payment Methods
s.subspec 'WeChatPay' do |plugin|
plugin.source_files = 'AdyenWeChatPay/**/*.swift'
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/Actions'
plugin.dependency 'AdyenWeChatPayInternal', '2.1.0'
end
s.subspec 'CashAppPay' do |plugin|
plugin.source_files = 'AdyenCashAppPay/**/*.swift'
plugin.dependency 'Adyen/Core'
plugin.dependency 'CashAppPayKit', '0.6.2'
plugin.dependency 'CashAppPayKitUI', '0.6.2'
end
s.subspec 'AdyenTwint' do |plugin|
plugin.source_files = 'AdyenTwint/**/*.swift'
plugin.dependency 'Adyen/Core'
plugin.vendored_frameworks = 'XCFramework/Dynamic/TwintSDK.xcframework'
end
s.subspec 'Card' do |plugin|
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/Encryption'
plugin.source_files = 'AdyenCard/**/*.swift'
plugin.exclude_files = 'AdyenCard/**/BundleSPMExtension.swift'
plugin.resource_bundles = {
'AdyenCard' => [
'AdyenCard/Assets/**/*.xcassets'
]
}
end
s.subspec 'Components' do |plugin|
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/Encryption'
plugin.source_files = 'AdyenComponents/**/*.swift'
end
s.subspec 'Session' do |plugin|
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/Actions'
plugin.source_files = 'AdyenSession/**/*.swift'
end
s.subspec 'Actions' do |plugin|
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen3DS2', '2.4.2'
plugin.source_files = 'AdyenActions/**/*.swift'
plugin.exclude_files = 'AdyenActions/**/BundleSPMExtension.swift'
plugin.resource_bundles = {
'AdyenActions' => [
'AdyenActions/Assets/**/*.xcassets'
]
}
end
s.subspec 'Encryption' do |plugin|
plugin.source_files = 'AdyenEncryption/**/*.swift'
end
s.subspec 'SwiftUI' do |plugin|
plugin.source_files = 'AdyenSwiftUI/**/*.swift'
end
s.subspec 'DelegatedAuthentication' do |plugin|
plugin.source_files = 'AdyenDelegatedAuthentication/**/*.swift'
plugin.dependency 'AdyenAuthentication', '3.0.0'
end
s.subspec 'Core' do |plugin|
plugin.source_files = 'Adyen/**/*.swift'
plugin.exclude_files = 'Adyen/**/BundleSPMExtension.swift'
plugin.dependency 'AdyenNetworking', '2.0.0'
plugin.resource_bundles = {
'Adyen' => [
'Adyen/Assets/**/*.strings',
'Adyen/Assets/**/*.xcassets',
'Adyen/PrivacyInfo.xcprivacy'
]
}
end
end