-
Notifications
You must be signed in to change notification settings - Fork 23
/
AmplitudeSwift.podspec
35 lines (27 loc) · 1.65 KB
/
AmplitudeSwift.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
amplitude_version = "1.10.1" # Version is managed automatically by semantic-release, please don't change it manually
Pod::Spec.new do |s|
s.name = "AmplitudeSwift"
s.version = amplitude_version
s.summary = "Amplitude Analytics SDK"
s.homepage = "https://amplitude.com"
s.license = { :type => "MIT" }
s.author = { "Amplitude" => "[email protected]" }
s.source = { :git => "https://github.com/amplitude/Amplitude-Swift.git", :tag => "v#{s.version}" }
s.swift_version = '5.7'
s.ios.deployment_target = '13.0'
s.ios.source_files = 'Sources/Amplitude/**/*.{h,swift}'
s.ios.resource_bundle = { 'Amplitude': ['Sources/Amplitude/PrivacyInfo.xcprivacy'] }
s.tvos.deployment_target = '13.0'
s.tvos.source_files = 'Sources/Amplitude/**/*.{h,swift}'
s.tvos.resource_bundle = { 'Amplitude': ['Sources/Amplitude/PrivacyInfo.xcprivacy'] }
s.osx.deployment_target = '10.15'
s.osx.source_files = 'Sources/Amplitude/**/*.{h,swift}'
s.osx.resource_bundle = { 'Amplitude': ['Sources/Amplitude/PrivacyInfo.xcprivacy'] }
# temporary disable watchos support due to: https://github.com/CocoaPods/CocoaPods/issues/11558
# unpaired watchos will cause failure, the fix of the above issue is merged but not released
# s.watchos.deployment_target = '7.0'
# s.watchos.source_files = 'Sources/Amplitude/**/*.{h,swift}'
# s.watchos.resource_bundle = { 'Amplitude': ['Sources/Amplitude/PrivacyInfo.xcprivacy'] }
s.dependency 'AnalyticsConnector', '~> 1.0.1'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end