Skip to content

Commit

Permalink
SPM/Cocoapods support for privacy manifest (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdurban authored Mar 22, 2024
1 parent d78cc41 commit 92109a8
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 92109a8

Please sign in to comment.