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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pod_target_dependency_installer] Allows generation of static framework with resource files #12357

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

takeh1k0
Copy link

馃寛 Hi, committers,

As mentioned in this issue, it is no longer possible to generate static framework targets that contain resource files in CocoaPods 1.7 and above.

This change might not cause a problem, because static frameworks did not need to be embedded in the application normally. However, the situation changed when Apple required support for privacy manifests.

According to Apple, if you want to distribute an application using a third-party SDK that supports privacy manifest as a static library, you need to create a static framework that includes the privacy manifest file. However, the current CocoaPods cannot generate such a static framework target. Even if you write the resource_bundle specification in the podspec, the "Copy Bundle Resources" field in the build phases of the generated static framework target will be empty.

To solve this problem, I have created this pull request that make possible to include resource files in static framework targets.

I hope you will approve this change.

@orbitekk
Copy link

Hi! This is very important fix 馃憤

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

2 participants