Skip to content

Commit

Permalink
SPM/Cocoapods support for privacy manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
sdurban committed Mar 19, 2024
1 parent d78cc41 commit be101d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Amplitude.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ Pod::Spec.new do |s|

s.ios.deployment_target = '10.0'
s.ios.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.ios.resources = 'Sources/Resources/*.{der}'
s.ios.resources = 'Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'

s.tvos.deployment_target = '9.0'
s.tvos.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.tvos.resources = 'Sources/Resources/*.{der}'
s.tvos.resources = 'Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'

s.osx.deployment_target = '10.10'
s.osx.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.osx.resources = 'Sources/Resources/*.{der}'
s.osx.resources = 'Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'

s.watchos.deployment_target = '3.0'
s.watchos.source_files = 'Sources/Amplitude/**/*.{h,m}'
s.watchos.resources = 'Sources/Resources/*.{der}'
s.watchos.resources = 'Sources/Resources/*.{der}', 'Sources/PrivacyInfo.xcprivacy'

s.dependency 'AnalyticsConnector', '~> 1.0.0'

Expand Down
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ let package = Package(
path: "Sources",
resources: [
.process("Resources"),
.copy("PrivacyInfo.xcprivacy")
],
publicHeadersPath: "Amplitude/Public"),
]
Expand Down

0 comments on commit be101d5

Please sign in to comment.