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

Don't embed frameworks with MACH_O_TYPE=staticlib #1003

Merged
merged 2 commits into from Jan 14, 2021

Conversation

mrabiciu
Copy link
Contributor

@mrabiciu mrabiciu commented Jan 8, 2021

There is a bug where if you setup a framework target with MACH_O_TYPE=staticlib it will incorrectly be added to the "Embed Frameworks" step resulting in duplicated frameworks and a large binary.

This change fixes an existing TODO created in: 0afd705 and correctly excludes these targets from the embed phase.

@yonaskolb
Copy link
Owner

This is great, thanks @mrabiciu! Could you please add some tests and a changelog entry?

@mrabiciu
Copy link
Contributor Author

Sure will do!

@mrabiciu mrabiciu force-pushed the static_framework_fixes branch 2 times, most recently from dea0770 to ef1ee5c Compare January 11, 2021 18:17
@mrabiciu
Copy link
Contributor Author

@yonaskolb Added a test and changelog entry

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