forked from Adyen/adyen-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAdyen.podspec
42 lines (37 loc) · 1.33 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
Pod::Spec.new do |s|
s.name = 'Adyen'
s.version = '3.3.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 = '10.0'
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.dependency 'Adyen/Core'
plugin.dependency 'Adyen3DS2', '>= 2.1.0-rc.5'
plugin.source_files = 'AdyenCard/**/*.swift', 'AdyenCard/Utilities/AdyenCSE/*.{h,m}', 'AdyenCard/Utilities/*.{h,m}'
plugin.private_header_files = 'AdyenCard/Utilities/AdyenCSE/*.h'
end
end