Reputation: 4658
I've just updated to Xcode 9.3 and am having the following issue when submitting my app to the app store:
Invalid Bundle - The app cannot be processed because options not allowed to be embedded in bitcode are detected in the submission. It is likely that you are not building the app with the toolchain provided in Xcode. Rebuild your entire app with the latest GM Xcode and submit the app again.
I've double checked and all the frameworks linked to my project and they have all been compiled with bitcode enabled. Only one of these frameworks is a Carthage framework and I've ensured that it's been rebuilt using carthage update
.
I'm completely stumped and don't know what else to try. Thanks ahead for your help!
Upvotes: 5
Views: 1773
Reputation: 10328
ITMS-90562: Invalid Bundle - The app cannot be processed because options not allowed to be embedded in bitcode are detected in the submission. It is likely that you are not building the app with the toolchain provided in Xcode. Rebuild your entire app with the latest GM Xcode and submit the app again.
This error might be caused by one of your external frameworks. You can try to rebuild the app from bitcode by yourself and that might give you some more informations. To do that in Xcode archive your app, then in organizer, in archives tab click "Distribute App", select "Development", and after that select "Rebuild from Bitcode" and proceed. After that Xcode will probably show more extended information about the problem which might help you solve it.
Upvotes: 2
Reputation: 902
I had this problem, using Apple's latest toolchain, when including a dynamic framework built with hidden symbols (ld
options -bitcode_bundle -bitcode_hide_symbols -r -x
).
When the symbols weren't hidden, the app was processed by Apple as expected.
Upvotes: 0