From 5c3949a2738c837004eaf0da7323cc5b7b7d9481 Mon Sep 17 00:00:00 2001 From: Manuel Burghard <234355+mjburghard@users.noreply.github.com> Date: Thu, 21 Dec 2023 17:35:45 +0100 Subject: [PATCH] Fix privacy manifest location for SPM (#2268) --- Lottie.xcodeproj/project.pbxproj | 2 +- Package.swift | 2 +- README.md | 2 +- PrivacyInfo.xcprivacy => Sources/PrivacyInfo.xcprivacy | 0 lottie-ios.podspec | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename PrivacyInfo.xcprivacy => Sources/PrivacyInfo.xcprivacy (100%) diff --git a/Lottie.xcodeproj/project.pbxproj b/Lottie.xcodeproj/project.pbxproj index c07c63362b..a2be98863c 100644 --- a/Lottie.xcodeproj/project.pbxproj +++ b/Lottie.xcodeproj/project.pbxproj @@ -1267,7 +1267,7 @@ 08F8B20C2898A7B100CB5323 /* RepeaterLayer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RepeaterLayer.swift; sourceTree = ""; }; 08F8B210289990B700CB5323 /* Samples */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Samples; sourceTree = ""; }; 08F8B212289990CB00CB5323 /* SnapshotTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SnapshotTests.swift; sourceTree = ""; }; - 08FB47C52B23B86500744478 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; + 08FB47C52B23B86500744478 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = Sources/PrivacyInfo.xcprivacy; sourceTree = ""; }; 08FE934D28F4CCAC00D3A7E6 /* InfiniteOpaqueAnimationLayer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InfiniteOpaqueAnimationLayer.swift; sourceTree = ""; }; 19465F51282F998B00BB2C97 /* CachedImageProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CachedImageProvider.swift; sourceTree = ""; }; 2E044E262820536800FA773B /* AutomaticEngineTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutomaticEngineTests.swift; sourceTree = ""; }; diff --git a/Package.swift b/Package.swift index 041b390e59..80fb90818a 100644 --- a/Package.swift +++ b/Package.swift @@ -19,5 +19,5 @@ let package = Package( "Private/EmbeddedLibraries/EpoxyCore/README.md", "Private/EmbeddedLibraries/LRUCache/README.md", ], - resources: [.copy("../PrivacyInfo.xcprivacy")]), + resources: [.copy("PrivacyInfo.xcprivacy")]), ]) diff --git a/README.md b/README.md index 6c8a943fd1..3e0d085da0 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Lottie supports Swift / Xcode versions back to the minimum version that is permi ## Privacy -Lottie does not collect any data. We provide this notice to help you fill out [App Privacy Details](https://developer.apple.com/app-store/app-privacy-details/). We additionally provide a [privacy manifest](https://github.com/airbnb/lottie-ios/blob/master/PrivacyInfo.xcprivacy) which can be included in your app. +Lottie does not collect any data. We provide this notice to help you fill out [App Privacy Details](https://developer.apple.com/app-store/app-privacy-details/). We additionally provide a [privacy manifest](https://github.com/airbnb/lottie-ios/blob/master/Sources/PrivacyInfo.xcprivacy) which can be included in your app. ## Security diff --git a/PrivacyInfo.xcprivacy b/Sources/PrivacyInfo.xcprivacy similarity index 100% rename from PrivacyInfo.xcprivacy rename to Sources/PrivacyInfo.xcprivacy diff --git a/lottie-ios.podspec b/lottie-ios.podspec index ea4c259e34..50aaf28ff7 100644 --- a/lottie-ios.podspec +++ b/lottie-ios.podspec @@ -29,7 +29,7 @@ Lottie enables designers to create and ship beautiful animations without an engi s.source_files = 'Sources/**/*' s.exclude_files = 'Sources/**/*.md' - s.resource = 'PrivacyInfo.xcprivacy' + s.resource = 'Sources/PrivacyInfo.xcprivacy' s.ios.exclude_files = 'Sources/Public/MacOS/**/*' s.tvos.exclude_files = 'Sources/Public/MacOS/**/*' s.osx.exclude_files = 'Sources/Public/iOS/**/*'