Skip to content

Instantly share code, notes, and snippets.

@asfdfdfd
Created June 13, 2016 20:57
Show Gist options
  • Save asfdfdfd/b990a27f93beca7127af803dd42fa989 to your computer and use it in GitHub Desktop.
Save asfdfdfd/b990a27f93beca7127af803dd42fa989 to your computer and use it in GitHub Desktop.
During normal builds, BITCODE_GENERATION_MODE is set to marker, meaning -fembed-bitcode-marker is passed to clang, meaning the bitcode section is created in the binary but has a size of 1.
During archive builds, BITCODE_GENERATION_MODE is set to bitcode, meaning -fembed-bitcode is passed to clang, meaning the bitcode section is created and properly filled.
https://github.com/Carthage/Carthage/issues/535#issuecomment-142772958
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment