According to docs here: http://adcdownload.apple.com/Developer_Tools/Xcode_7_beta_5/Xcode_7_beta_5_Release_Notes.pdf
page 37 under App thinning:
Xcode 7 has a ENABLE_BITCODE option to embed bitcode in apps, app extensions, and frameworks. The option is turned on by default for iOS and is mandatory for watchOS projects submitted to the store.
We will have an issue submitting to app store for watchOS projects, since we set ENABLE_BITCODE to NO by default.
We need CLI to automatically set this flag to YES once we know that we are creating and building a titanium app with watchOS2 enabled.
The other criteria is that the dependent libraries have to be bitcode enabled as well, which already has a PR here:
As of now, this PR will work if we set
in tiapp.xml because it skips these 3 libraries that will take more time and effort to complete:
Hence we need CLI to generate this in tiapp.xml as well in the watchOS app case.
In other situations where the ti developer does not wish to build a watchOS app, the default ENABLE_BITCODE = NO remains, and will not have any problems building with bit enabled libraries.