-
Notifications
You must be signed in to change notification settings - Fork 5
/
KarteUtilities.podspec
47 lines (40 loc) · 1.71 KB
/
KarteUtilities.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
#
# Be sure to run `pod lib lint KarteTracker.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'KarteUtilities'
s.version = '3.12.0'
s.summary = 'KARTE Utilities SDK'
s.homepage = 'https://karte.io'
s.author = { 'PLAID' => '[email protected]' }
s.documentation_url = 'https://developers.karte.io/docs/ios-sdk'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.cocoapods_version = '>= 1.10.0'
s.swift_versions = [5.1]
s.platform = :ios
s.ios.deployment_target = '12.0'
s.source = { :git => 'https://github.com/plaidev/karte-ios-sdk.git', :tag => "Utilities-#{s.version}" }
s.default_subspec = 'standard'
s.requires_arc = true
s.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '$(inherited) -suppress-warnings',
'GCC_PREPROCESSOR_DEFINITIONS' => 'UTILITIES_VERSION=' + s.version.to_s
}
s.subspec 'standard' do |ss|
ss.source_files = 'KarteUtilities/**/*.{swift,h,m}'
ss.resource_bundles = { 'KarteUtilities' => ['KarteUtilities/PrivacyInfo.xcprivacy'] }
ss.library = 'sqlite3'
end
s.subspec 'sqlite-standalone' do |ss|
ss.source_files = 'KarteUtilities/**/*.{swift,h,m}'
ss.xcconfig = {
'OTHER_SWIFT_FLAGS' => '$(inherited) -DKARTE_SQLITE_STANDALONE',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) KARTE_SQLITE_STANDALONE=1'
}
ss.dependency 'sqlite3'
end
end