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

Manually set bitcode modes #260

Conversation

dmcrodrigues
Copy link
Contributor

A framework with bitcode enabled requires the following flag to create and fill the bitcode section, -fembed-bitcode. However, this flag is available only in archive builds, not in normal builds where it's used the flag -fembed-bitcode-marker which creates a bitcode section but has a size of 1.

Carthage doesn't use archive action to build frameworks which means the resulting framework will contain a bitcode section but not properly filled as expected, leading to some issues in the submission of apps to TestFlight for example.

This PR fixes #249. There's also more information in this issue: Carthage/Carthage#535.

A framework with bitcode enabled requires the following flag to create
and fill the bitcode section, `-fembed-bitcode`. However, this flag is
available only in archive builds, not in normal builds where it's used
the flag `-fembed-bitcode-marker` which creates a bitcode section but
has a size of 1.

Carthage doesn't use archive action to build frameworks which means the
resulting framework will contain a bitcode section but not properly
filled as expected, leading to some issues in the submission of apps
to TestFlight for example.
@tonyd256
Copy link
Contributor

tonyd256 commented Oct 3, 2015

Thanks @dmcrodrigues for doing this! I didn't have enough time to dig in myself. It's merged in here: bd79021 and I'll cut a new release for this and all the recent changes.

@tonyd256 tonyd256 closed this Oct 3, 2015
@dmcrodrigues
Copy link
Contributor Author

Cool, I'm glad to help 👍

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.

Bundle only contains bitcode-marker
2 participants