Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use resource_bundles instead of resource in podspec for privacy manifest #2288

Merged

Conversation

dcacenabes
Copy link
Contributor

In #2252 the privacy manifest was added. For cocoapods it is being added using resource, which can end up with duplicate files if other library linked on the application provides a file with the same name and you are linking them statically.

By using resource_bundles, we can ensure that there will not be overlaps.

More details in this comment in a Google repository on this same topic:
google/promises#226 (comment)

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.
@dcacenabes dcacenabes mentioned this pull request Jan 12, 2024
Copy link
Member

@calda calda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@calda calda enabled auto-merge (squash) January 12, 2024 15:55
@calda calda merged commit 8430111 into airbnb:master Jan 12, 2024
13 checks passed
@dcacenabes dcacenabes deleted the replace-resource-for-resource-bundles branch January 15, 2024 11:25
iago849 pushed a commit to atteamapps/lottie-ios that referenced this pull request Feb 8, 2024
MoroziOS pushed a commit to MoroziOS/tmg-lottie-ios that referenced this pull request May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants