Invalid bundle "Rebuild your entire app with the latest GM Xcode and submit the app again" with Xcode 9.3

I got this message on upload my build to App Store with Xcode 9.3:


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.


Does anyone know how to solve this?

On Xcode 9.2 works perfectly.

Replies

Happens every time a new version Xcode drops, like clockwork. One section in Apple releases new tools, while another section, responsible for setting the flag on iTC that allows their use, seems blissfully unaware. In any every case, the timing is always backwards. Classic left hand, right hand fail.


Best to either stick w/v9.2, or wait until the change to allow v9.3 is made on the backend...any day now.

Any chance you're building the app with Swift 4.1's new optimization mode -Osize? It looks like iTC currently rejects those builds.