-
Notifications
You must be signed in to change notification settings - Fork 5
/
HiPayFullservice.podspec
83 lines (66 loc) · 3.34 KB
/
HiPayFullservice.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
Pod::Spec.new do |s|
s.name = "HiPayFullservice"
s.version = "1.11.3"
s.summary = "HiPay SDK for iOS lets you accept payments in your iOS application."
s.description = <<-DESC
HiPay is a new generation of payment platform optimized for todays’ e-tailers.
This SDK leverages the HiPay platform to let you accept payments in your iOS application.
You can either take advantage of the turnkey payment screen or make a custom implement by using the core wrapper.
DESC
s.homepage = "https://developer.hipay.com"
s.license = "Apache-2.0"
s.author = { "HiPay" => "pi-ecommerce@hipay.com"}
s.source = { :git => "https://github.com/hipay/hipay-fullservice-sdk-ios.git", :tag => s.version.to_s }
s.homepage = "https://developer.hipay.com/doc/hipay-fullservice-sdk-ios/"
s.platform = :ios, "9.0"
s.requires_arc = true
s.pod_target_xcconfig = {"TARGETED_DEVICE_FAMILY" => "1,2"}
s.source_files = "HiPayFullservice/*.{m,h}"
s.default_subspec = 'Core', 'Payment-Screen'
s.public_header_files = "HiPayFullservice/*.h"
s.subspec "Core" do |s|
s.source_files = "HiPayFullservice/Core/**/*.{h,m}", "HiPayFullservice/Device Print/**/*.h", "HiPayFullservice/Utilities/**/*.{h,m}"
s.public_header_files = "HiPayFullservice/Core/**/*.h", "HiPayFullservice/Utilities/**/*.h"
s.resource_bundles = {
"HPFCoreLocalization" => ["HiPayFullservice/Core/**/*.lproj"]
}
s.libraries = 'c++'
end
s.subspec "Utilities" do |s|
s.source_files = "HiPayFullservice/Utilities/**/*.{h,m}"
s.public_header_files = "HiPayFullservice/Utilities/**/*.h"
s.resource_bundles = {
"HPFUtilitiesResources" => ["HiPayFullservice/Utilities/**/*.{plist}"],
}
s.dependency "HiPayFullservice/Core"
end
s.subspec "Device-Print" do |s|
s.vendored_frameworks = "HiPayFullservice/Device Print/iovation.framework"
s.frameworks = "CoreTelephony", "SystemConfiguration", "ExternalAccessory"
end
s.subspec "Payment-Screen" do |s|
s.source_files = ['HiPayFullservice/Payment Screen/**/*.{h,m}']
s.public_header_files = "HiPayFullservice/Payment Screen/**/*.h"
s.resource_bundles = {
"HPFPaymentScreenViews" => ["HiPayFullservice/Payment Screen/**/*.{xib,png,storyboard}"],
"HPFPaymentScreenLocalization" => ["HiPayFullservice/Payment Screen/**/*.lproj"]
}
s.dependency "HiPayFullservice/Core"
s.dependency "HiPayFullservice/Utilities"
s.weak_frameworks = "WebKit"
s.frameworks = 'UIKit', 'Accelerate', 'AudioToolbox', 'AVFoundation', 'CoreLocation', 'CoreMedia', 'MessageUI', 'MobileCoreServices', 'SystemConfiguration'
s.vendored_libraries = ['HiPayFullservice/Payment Screen/CardIO/*.a']
s.compiler_flags = '-fmodules'
s.xcconfig = { 'OTHER_LDFLAGS' => '-lc++ -ObjC'}
end
s.subspec 'CardIO' do |s|
s.dependency 'CardIO', '~> 5.4.1'
end
s.subspec 'Datecs-POS' do |s|
s.source_files = ['HiPayFullservice/POS/*.{h,m}']
s.vendored_frameworks = "HiPayFullservice/POS/Datecs/DatecsLibrary.framework"
s.xcconfig = { 'OTHER_LDFLAGS' => '-lresolv'}
s.frameworks = 'SystemConfiguration', 'Security', 'CoreTelephony'
s.libraries = 'c++'
end
end