App Store Connect Rejects Binary w/ ITMS-90562 Invalid Bundle - Unable to Compile Bitcode

Viewed 3997

On builds submitted with Xcode 11b2, after successfully uploading a build I'm getting an email a few minutes later with the following message:

ITMS-90562: Invalid Bundle - The app submission can not be successfully recompiled from bitcode due to missing symbols during linking. You can try to reproduce and diagnose such issues locally by following the instructions from: https://developer.apple.com/library/archive/technotes/tn2432/_index.html

Following the link, I'm able to export an ad-hoc build with bitcode without any errors locally so it doesn't seem to be much help.

I've also tried submitting builds with the checkbox for bitcode both on and off, though the app in question includes an Apple Watch app and that platform always requires bitcode so it may make no real difference.

Anyone seen this before and know how to resolve ?

5 Answers

Apple resolved this issue with Xcode 11b3.

I solved with unchecking bitcode tick when uploading the TestFlight.

These seem to be back today. Xcode 11.5, Xcode 11.7, both causing the same error email from AppStoreConnect with the error. We didn't change a thing, of course.

In order to be able to get QA builds to our people, we had to temporarily just no choose "include Bitcode" when submitting it.

Contacted Apple, but the associate answering the phone is only admin type level, not code level, couldn't answer why.

If you use fastlane just pass include_bitcode set to false inside build_app. So your Fastlane file will look like this:

default_platform(:ios)

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
    get_certificates
    get_provisioning_profile
    build_app(workspace: "AppName.xcworkspace", scheme: "AppName", include_bitcode: false)
    upload_to_testflight
  end
end
Related