-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathAdyen.podspec
More file actions
141 lines (124 loc) · 4.28 KB
/
Adyen.podspec
File metadata and controls
141 lines (124 loc) · 4.28 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
Pod::Spec.new do |s|
s.name = 'Adyen'
s.version = '5.22.2'
s.summary = "Adyen Components for iOS"
s.description = <<-DESC
Adyen Checkout SDK 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' => 'support@adyen.com' }
s.source = { :git => 'https://github.com/Adyen/adyen-ios.git', :tag => "#{s.version}" }
s.platform = :ios
s.ios.deployment_target = '15.0'
s.swift_version = '5.9'
s.frameworks = 'Foundation'
s.default_subspecs = 'Checkout'
s.pod_target_xcconfig = {
'SWIFT_SUPPRESS_WARNINGS' => 'YES',
'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES',
'OTHER_SWIFT_FLAGS' => '$(inherited) -package-name com.adyen.checkout'
}
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
s.subspec 'Checkout' do |plugin|
plugin.source_files = 'AdyenCheckout/**/*.swift'
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/Actions'
plugin.dependency 'Adyen/Card'
plugin.dependency 'Adyen/Encryption'
plugin.dependency 'Adyen/Components'
plugin.dependency 'Adyen/DropIn'
plugin.dependency 'Adyen/Session'
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.2.0'
end
s.subspec 'CashAppPay' do |plugin|
plugin.source_files = 'AdyenCashAppPay/**/*.swift'
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/CoreUI'
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.dependency 'Adyen/CoreUI'
plugin.vendored_frameworks = 'XCFramework/Dynamic/TwintSDK.xcframework'
end
s.subspec 'Card' do |plugin|
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/Encryption'
plugin.dependency 'Adyen/CoreUI'
plugin.source_files = 'AdyenCard/**/*.swift'
plugin.exclude_files = 'AdyenCard/**/BundleSPMExtension.swift'
plugin.resource_bundles = {
'AdyenCard' => [
'AdyenCard/Assets/**/*.xcassets'
]
}
end
s.subspec 'CardScanner' do |plugin|
plugin.dependency 'AdyenCardScanner'
end
s.subspec 'Components' do |plugin|
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/CoreUI'
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 'Adyen/CoreUI'
plugin.dependency 'Adyen3DS2', '2.4.4'
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.2.0'
end
s.subspec 'CoreUI' do |plugin|
plugin.source_files = 'AdyenUI/**/*.swift'
plugin.dependency 'Adyen/Core'
end
s.subspec 'Core' do |plugin|
plugin.source_files = 'Adyen/**/*.swift'
plugin.exclude_files = 'Adyen/**/BundleSPMExtension.swift'
plugin.dependency 'AdyenNetworking', '3.0.1'
plugin.resource_bundles = {
'Adyen' => [
'Adyen/Assets/**/*.strings',
'Adyen/Assets/**/*.xcassets',
'Adyen/PrivacyInfo.xcprivacy'
]
}
end
end