forked from Adyen/adyen-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdyen.podspec
More file actions
44 lines (39 loc) · 1.46 KB
/
Adyen.podspec
File metadata and controls
44 lines (39 loc) · 1.46 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
Pod::Spec.new do |s|
s.name = 'Adyen'
s.version = '3.0.1'
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' => 'support@adyen.com' }
s.source = { :git => 'https://github.com/Adyen/adyen-ios.git', :tag => "#{s.version}" }
s.platform = :ios
s.ios.deployment_target = '10.3'
s.swift_version = '5.0'
s.frameworks = 'Foundation'
s.default_subspecs = 'Core', 'Card', 'DropIn'
s.subspec 'Core' do |plugin|
plugin.source_files = 'Adyen/**/*.swift'
plugin.resource_bundles = {
'Adyen' => [
'Adyen/Assets/**/*.strings'
]
}
end
s.subspec 'DropIn' do |plugin|
plugin.source_files = 'AdyenDropIn/**/*.swift'
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen/Card'
end
# Payment Methods
s.subspec 'Card' do |plugin|
plugin.xcconfig = { 'SWIFT_INCLUDE_PATHS' => '${PODS_TARGET_SRCROOT}/AdyenCard/Utilities/AdyenCSE' }
plugin.preserve_paths = 'AdyenCard/Utilities/AdyenCSE/module.modulemap'
plugin.dependency 'Adyen/Core'
plugin.dependency 'Adyen3DS2'
plugin.source_files = 'AdyenCard/**/*.swift', 'AdyenCard/Utilities/AdyenCSE/*.{h,m}'
plugin.private_header_files = 'AdyenCard/Utilities/AdyenCSE/*.h'
end
end