forked from primer-io/primer-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PrimerSDK.podspec
40 lines (37 loc) · 1.63 KB
/
PrimerSDK.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 = "PrimerSDK"
s.version = "2.16.7"
s.summary = "Official iOS SDK for Primer"
s.description = <<-DESC
This library contains the official iOS SDK for Primer. Install this Cocoapod to seemlessly integrate the Primer Checkout & API platform in your app.
DESC
s.homepage = "https://www.primer.io"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Primer" => "[email protected]" }
s.source = { :git => "https://github.com/primer-io/primer-sdk-ios.git", :tag => "#{s.version}" }
s.swift_version = "4.2"
s.ios.deployment_target = "10.0"
s.default_subspec = "Core"
s.ios.frameworks = "Foundation", "UIKit"
s.subspec "Core" do |ss|
ss.ios.source_files = "Sources/PrimerSDK/Classes/**/*.{h,m,swift}"
ss.ios.resource_bundles = {
"PrimerResources" => [
"Sources/PrimerSDK/Resources/*.xcassets",
"Sources/PrimerSDK/Resources/Localizable/**/*.strings",
"Sources/PrimerSDK/Resources/Localizable/**/*.stringsdict",
"Sources/PrimerSDK/Resources/Storyboards/*.{storyboard}",
"Sources/PrimerSDK/Resources/Nibs/*",
"Sources/PrimerSDK/Resources/JSONs/**/*.json"
]
}
ss.ios.pod_target_xcconfig = {
"FRAMEWORK_SEARCH_PATHS" => [
"$(inherited)",
"${PODS_CONFIGURATION_BUILD_DIR}/Primer3DS",
"${PODS_CONFIGURATION_BUILD_DIR}/PrimerKlarnaSDK",
"${PODS_CONFIGURATION_BUILD_DIR}/PrimerIPay88SDK"
]
}
end
end