Enable bitcode vs include bitcode before submitting app

allaire picture allaire · Dec 17, 2015 · Viewed 7.2k times · Source

What's the difference between the "Enable Bitcode" setting in the app's target & project and the "Include Bitcode" checkbox that is present before submitting to App Store?

If I have "Enable Bitcode" FALSE and have "Include Bitcode" checked, what happens? If I have "Enable Bitcode" TRUE and have "Include Bitcode" unchecked, what happens?

I saw other questions asking only what "Enable Bitcode" does, but mine ask the difference with this setting and the "Include Bitcode" setting just before submitting the app to the App Store.

Thanks

Answer

TwoStraws picture TwoStraws · Dec 17, 2015

As you might imagine, you need both enabled in order to have your app support Bitcode recompilation in iTunes Connect. Just enabling it in Xcode simply means the Bitcode "architecture" is compiled, it doesn't necessarily mean that's sent to Apple.

Advance warning: I've done some tests on app submission with and without Bitcode, and for whatever reason submitting with Bitcode substantially slows down the time it takes for your binary to be processed so that it's ready for submission. Without Bitcode it can appear in a few minutes or up to maybe three hours; with Bitcode I've frequently had delays of 24 hours or more.