-
Notifications
You must be signed in to change notification settings - Fork 0
/
PUSDK.podspec
93 lines (81 loc) · 3.54 KB
/
PUSDK.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
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
Pod::Spec.new do |s|
s.name = 'PUSDK'
s.version = '2.2.0'
s.summary = 'PayU mobile SDK for iOS'
s.homepage = 'http://developers.payu.com/en/mobile_sdk.html'
s.author = { 'PayU' => '[email protected]' }
s.license = { :type => 'Apache License Version 2.0', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/PayU-EMEA/PayU-iOS-Swift.git', :tag => s.version }
s.platform = :ios
s.swift_version = '5.10'
s.ios.deployment_target = '13.0'
s.subspec 'PUAPI' do |ss|
ss.source_files = 'PUAPI/Sources/PUAPI/**/*'
ss.resource_bundles = {'PUAPI' => ['PUAPI/Sources/PUAPI/Certificates/*.{cer}']}
ss.resources = ['PUAPI/Sources/PUAPI/Certificates/*.{cer}']
ss.dependency 'PUSDK/PUCore'
end
s.subspec 'PUApplePay' do |ss|
ss.source_files = 'PUApplePay/Sources/PUApplePay/**/*'
ss.framework = 'PassKit'
end
s.subspec 'PUCore' do |ss|
ss.source_files = 'PUCore/Sources/PUCore/**/*'
ss.resource_bundles = {'PUCore' => ['PUCore/Resources/*.{xcassets}']}
ss.resources = ['PUCore/Resources/*.{xcassets}']
end
s.subspec 'PUPaymentCard' do |ss|
ss.source_files = 'PUPaymentCard/Sources/PUPaymentCard/**/*'
ss.dependency 'PUSDK/PUAPI'
ss.dependency 'PUSDK/PUCore'
ss.dependency 'PUSDK/PUPaymentCardScanner'
ss.dependency 'PUSDK/PUTheme'
ss.dependency 'PUSDK/PUTranslations'
end
s.subspec 'PUPaymentCardScanner' do |ss|
ss.source_files = 'PUPaymentCardScanner/Sources/PUPaymentCardScanner/**/*'
ss.framework = 'AVFoundation'
ss.framework = 'CoreImage'
ss.framework = 'CoreGraphics'
ss.framework = 'Vision'
ss.dependency 'PUSDK/PUCore'
ss.dependency 'PUSDK/PUTheme'
ss.dependency 'PUSDK/PUTranslations'
end
s.subspec 'PUPaymentMethods' do |ss|
ss.source_files = 'PUPaymentMethods/Sources/PUPaymentMethods/**/*'
ss.dependency 'PUSDK/PUApplePay'
ss.dependency 'PUSDK/PUCore'
ss.dependency 'PUSDK/PUPaymentCard'
ss.dependency 'PUSDK/PUTheme'
ss.dependency 'PUSDK/PUTranslations'
end
s.subspec 'PUTheme' do |ss|
ss.source_files = 'PUTheme/Sources/PUTheme/**/*'
ss.resource_bundles = {'PUTheme' => ['PUTheme/Sources/PUTheme/Resources/Fonts/*.{ttf}']}
ss.resources = ['PUTheme/Sources/PUTheme/Resources/Fonts/*.{ttf}']
ss.dependency 'Kingfisher', '8.1.0'
ss.dependency 'PUSDK/PUCore'
end
s.subspec 'PUThreeDS' do |ss|
ss.source_files = 'PUThreeDS/Sources/PUThreeDS/**/*'
ss.framework = 'WebKit'
ss.dependency 'PUSDK/PUAPI'
ss.dependency 'PUSDK/PUCore'
end
s.subspec 'PUTranslations' do |ss|
ss.source_files = 'PUTranslations/Sources/PUTranslations/**/*'
ss.resource_bundles = {'PUTranslations' => ['PUTranslations/Sources/PUTranslations/Resources/*.{lproj}']}
ss.resources = ['PUTranslations/Sources/PUTranslations/Resources/*.{lproj}']
ss.dependency 'PUSDK/PUCore'
end
s.subspec 'PUWebPayments' do |ss|
ss.source_files = 'PUWebPayments/Sources/PUWebPayments/**/*'
ss.framework = 'WebKit'
ss.dependency 'PUSDK/PUAPI'
ss.dependency 'PUSDK/PUCore'
ss.dependency 'PUSDK/PUTheme'
ss.dependency 'PUSDK/PUTranslations'
end
s.resource_bundles = {'PUSDK' => ['PUSDK/Resources/PrivacyInfo.xcprivacy']}
end