forked from champo/px-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMercadoPagoSDKV4.podspec
40 lines (36 loc) · 1.77 KB
/
MercadoPagoSDKV4.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
Pod::Spec.new do |s|
s.name = "MercadoPagoSDKV4"
s.version = "4.30.1"
s.summary = "MercadoPagoSDK"
s.homepage = "https://www.mercadopago.com"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = "Mercado Pago"
s.source = { :git => 'git@github.com:mercadopago/px-ios.git', :tag => s.version.to_s }
s.swift_version = '4.2'
s.platform = :ios, '10.0'
s.requires_arc = true
s.default_subspec = 'Default'
s.subspec 'Default' do |default|
default.resources = ['MercadoPagoSDK/MercadoPagoSDK/*.xcassets','MercadoPagoSDK/MercadoPagoSDK/*/*.xcassets', 'MercadoPagoSDK/MercadoPagoSDK/*.ttf', 'MercadoPagoSDK/MercadoPagoSDK/**/**.{xib,strings,stringsdict}', 'MercadoPagoSDK/MercadoPagoSDK/Translations/**/**.{plist,strings}', 'MercadoPagoSDK/MercadoPagoSDK/Plist/*.plist', 'MercadoPagoSDK/MercadoPagoSDK/*.lproj']
default.source_files = ['MercadoPagoSDK/MercadoPagoSDK/**/**/**.{h,m,swift}']
s.dependency 'MLUI', '~> 5.0'
s.dependency 'MLCardDrawer', '~> 1.0'
s.dependency 'MLBusinessComponents', '~> 1.0'
s.dependency 'MLCardForm', '~> 0.7'
end
s.subspec 'ESC' do |esc|
esc.dependency 'MercadoPagoSDKV4/Default'
esc.dependency 'MLESCManager', '~> 2.0.3'
esc.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS[config=Debug]' => '-D PX_PRIVATE_POD',
'OTHER_SWIFT_FLAGS[config=Release]' => '-D PX_PRIVATE_POD',
'OTHER_SWIFT_FLAGS[config=MDS-Custom]' => '-D PX_PRIVATE_POD',
'OTHER_SWIFT_FLAGS[config=MDS-Nightly]' => '-D PX_PRIVATE_POD',
'OTHER_SWIFT_FLAGS[config=Testflight]' => '-D PX_PRIVATE_POD'
}
end
#s.test_spec do |test_spec|
#test_spec.source_files = 'MercadoPagoSDK/MercadoPagoSDKTests/*'
#test_spec.frameworks = 'XCTest'
#end
end