I am building a medium size project that uses CMake for project generation. On the XCode 7+ the ENABLE_BITCODE option is set to "Yes" by default. I would like to set that to "No" by default in my generated XCode projects.
I have tried adding "-fno-embed-bitcode" and "-fno-embed-bitcode-marker" to my CMAKE_C_FLAGS but this had no effect.
Turns out I did not search enough. You can do this by calling:
set_target_properties(target PROPERTIES XCODE_ATTRIBUTE_ENABLE_BITCODE "NO")
from your CMake project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With