Static iOS infrastructure with bitmap enabled for iOS9

I have a static framework, and I would like to add support for its bitcode (the invention of iOS9). The moment I set the bitcode to YES, I get the following:

-bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together 

So the question is, how do I enable the bitcode for a static library to avoid this problem?

+6
source share
1 answer

I avoided this problem with the following build settings.

  • Set ' Enable Bitcode ' ' No '
  • Add ' -fembed-bitcode ' to ' Other C flags
-1
source

All Articles