From fe8f01c470ab1eb51ea3b3fb5eae10fcc78dfb74 Mon Sep 17 00:00:00 2001 From: David Cacenabes Date: Fri, 12 Jan 2024 16:30:51 +0100 Subject: [PATCH] Use resource_bundles instead of resource Resources defined simply as a resource end up in the app package directly, and it can lead to overridden files. By using bundle_resources we ensure that the file will be unique. --- lottie-ios.podspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lottie-ios.podspec b/lottie-ios.podspec index 50aaf28ff7..29ff2f545e 100644 --- a/lottie-ios.podspec +++ b/lottie-ios.podspec @@ -29,7 +29,9 @@ Lottie enables designers to create and ship beautiful animations without an engi s.source_files = 'Sources/**/*' s.exclude_files = 'Sources/**/*.md' - s.resource = 'Sources/PrivacyInfo.xcprivacy' + s.resource_bundles = { + 'Lottie_Privacy' => ['Sources/PrivacyInfo.xcprivacy'], + } s.ios.exclude_files = 'Sources/Public/MacOS/**/*' s.tvos.exclude_files = 'Sources/Public/MacOS/**/*' s.osx.exclude_files = 'Sources/Public/iOS/**/*'