forked from airwallex/airwallex-payment-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAirwallex.podspec
More file actions
59 lines (54 loc) · 2.6 KB
/
Copy pathAirwallex.podspec
File metadata and controls
59 lines (54 loc) · 2.6 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
Pod::Spec.new do |s|
s.name = "Airwallex"
s.version = "6.1.8"
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' => 'pa_mobile_sdk@airwallex.com' }
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.swift_versions = '5.0'
s.default_subspec = 'AirwallexPaymentSheet'
s.subspec 'AirwallexPaymentSheet' do |plugin|
plugin.source_files = 'Airwallex/AirwallexPaymentSheet/Sources/**/*.{swift,h,m}'
plugin.public_header_files = 'Airwallex/AirwallexPaymentSheet/Sources/*.h'
plugin.resource_bundle = {
'AirwallexPaymentSheet' => 'Airwallex/AirwallexPaymentSheet/Resources/**/*'
}
plugin.dependency 'Airwallex/AirwallexPayment'
end
s.subspec 'AirwallexPayment' do |plugin|
plugin.source_files = 'Airwallex/AirwallexPayment/Sources/**/*.{swift,h,m}'
plugin.public_header_files = 'Airwallex/AirwallexPayment/Sources/*.h'
plugin.resource_bundle = {
'AirwallexPayment' => 'Airwallex/AirwallexPayment/Resources/**/*'
}
plugin.dependency 'Airwallex/AirwallexCore'
end
s.subspec 'AirwallexCore' do |plugin|
plugin.source_files = [ 'Airwallex/Airwallex/Airwallex.h', 'Airwallex/AirwallexCore/Sources/**/*.{swift,h,m}']
plugin.public_header_files = [
'Airwallex/Airwallex/Airwallex.h',
'Airwallex/AirwallexCore/Sources/*.h',
'Airwallex/AirwallexCore/Sources/Card/*.h',
'Airwallex/AirwallexCore/Sources/Redirect/*.h',
'Airwallex/AirwallexCore/Sources/ApplePay/*.h',
'Airwallex/AirwallexCore/Sources/UI/*.h',
'Airwallex/AirwallexCore/Sources/Model/*.h',
'Airwallex/AirwallexCore/Sources/Logging/*.h',
'Airwallex/AirwallexCore/Sources/Network/*.h'
]
plugin.resource_bundle = {
'AirwallexCore' => 'Airwallex/AirwallexCore/Resources/**/*'
}
plugin.vendored_frameworks = 'Frameworks/AirTracker.xcframework', 'Frameworks/AirwallexRisk.xcframework'
end
s.subspec 'AirwallexWeChatPay' do |plugin|
plugin.dependency 'Airwallex/AirwallexCore'
plugin.source_files = 'Airwallex/AirwallexWeChatPay/**/*.{h,m}'
plugin.public_header_files = 'Airwallex/AirwallexWeChatPay/*.h'
plugin.vendored_frameworks = 'Frameworks/WechatOpenSDKDynamic.xcframework'
end
end