-
Notifications
You must be signed in to change notification settings - Fork 0
/
Airwallex.podspec
47 lines (42 loc) · 2.14 KB
/
Airwallex.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
Pod::Spec.new do |s|
s.name = "Airwallex"
s.version = "5.6.0"
s.summary = "Integrate Airwallex into your iOS app"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.homepage = "https://www.airwallex.com/docs/#overview"
s.authors = { 'Airwallex' => '[email protected]' }
s.source = { :git => "https://github.com/airwallex/airwallex-payment-ios.git", :tag => "#{s.version}" }
s.platform = :ios
s.ios.deployment_target = '13.0'
s.static_framework = true
s.default_subspecs = 'Core', 'WeChatPay', 'Card', 'Redirect', 'ApplePay'
s.subspec 'Core' do |plugin|
plugin.source_files = 'Airwallex/Core/Sources/**/*.{swift,h,m}'
plugin.public_header_files = 'Airwallex/Core/Sources/*.h'
plugin.resources = ['Airwallex/Core/Resources/AirwallexCore.bundle']
plugin.vendored_frameworks = 'Frameworks/AirTracker.xcframework', 'Frameworks/AirwallexRisk.xcframework'
end
s.subspec 'WeChatPay' do |plugin|
plugin.dependency 'Airwallex/Core'
plugin.dependency 'WechatOpenSDK', '1.9.7'
plugin.source_files = 'Airwallex/WeChatPay/**/*.{h,m}'
plugin.public_header_files = 'Airwallex/WeChatPay/*.h'
plugin.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
plugin.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
end
s.subspec 'Card' do |plugin|
plugin.dependency 'Airwallex/Core'
plugin.source_files = ['Airwallex/Card/**/*.{swift,h,m}', 'Airwallex/Airwallex.h']
plugin.public_header_files = ['Airwallex/Card/*.h', 'Airwallex/Airwallex.h']
end
s.subspec 'Redirect' do |plugin|
plugin.dependency 'Airwallex/Core'
plugin.source_files = ['Airwallex/Redirect/**/*.{swift,h,m}', 'Airwallex/Airwallex.h']
plugin.public_header_files = ['Airwallex/Redirect/*.h', 'Airwallex/Airwallex.h']
end
s.subspec 'ApplePay' do |plugin|
plugin.dependency 'Airwallex/Core'
plugin.source_files = 'Airwallex/ApplePay/**/*.{h,m}'
plugin.public_header_files = 'Airwallex/ApplePay/*.h'
end
end