Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ITC.apps.assetvalidation.BITCODE_IMBALANCE_ERROR.error.message

I am having a problem submitting my iOS application to review queue. It keeps loading and throwing me error like this.

ITC.apps.assetvalidation.BITCODE_IMBALANCE_ERROR.error.message

Any ideas how to resolve this?

like image 210
John Paul Manoza Avatar asked Jun 03 '16 02:06

John Paul Manoza


1 Answers

I'm afraid there's not much information about this issue. All the stuff I've read about is from yesterday or today. This thread on the apple message board is what made most sense to me:

https://forums.developer.apple.com/thread/48023

It implies that there might be some issue on the Itunes Connect backend. It makes sense to me because I've already managed to do some releases on my app before, and the BITCODE flags were not changed before that. So it's either a change in the bitcode policies or some random error.

In any case, we'll probably have to wait until Apple clarifies it. I'd suggest to stay tuned to that thread on their forum :)

EDIT: I figured it out!!

I'm using CocoaPods, and the Pods project had the "Enable bitcode" option enabled for all targets, while my app had it disabled. That means that the frameworks were being generated with the arm64-bitcode architecture instead of the arm64-machinecode that my project requires. Putting the "Enable bitcode" to "No" for all the targets inside the Pods project does the trick.

At least, it worked for me. Too bad apple provides no feedback on this, because it looks like a recent change. I think there's another option that could work without changing the project settins: try disabling the "Include bitcode" checkbox on the Organizer, after pressing the "Upload to App Store" button.

Edit (again): Disabling the "Include bitcode" checkbox in the organizer definitely works :)

like image 170
Bartserk Avatar answered Sep 28 '22 15:09

Bartserk