Error: The binary you uploaded was invalid

Hi,

just for reference, if you get in iTunes Connect after uploading a new version of your application an error like this:

The binary you uploaded was invalid. The bundle identifier cannot be changed from the previous minor version.

there is some different characters in your bundle identifier to the previous version that exists in iTunes. Took me ages to find out that this error occures because of an uppercase D in Decane (and I have no clue why it suddenly became uppercase):

BundleIdentifier previous version in iTunes: net.__d__ecane.BubbleBang
BundleIdentifier updated binary: net.__D__ecane.BubbleBang

So if you get that kind of error there is probably some character written different to the previous version you uploaded in iTunes.

Just wanted to write it down here in case someone else runs into this issue.

Best
Martin

Hello.

I’ve taken over uploading updates from our programmers and encountered the exact error message you speak of. Only problem is, my programmer deleted the original certificate and identifier. Can I go into the developer site and recreate it exactly? Or do I have to launch from scratch as if the iPhone app was brand new?

Thank you.

m

This SO helped me… thank you Martin! :smile:

Martin how did you find your bundle identifier from your last version on itunes?. If I am going off my xcode I am using the same one but I am getting the same error as you were when I try to upload it.

-Tim Bowser
www.thebrightbadger.com

You can always find the original bundle string of a submitted app by logging into itts.apple.com, go to “manage your apps” and click on the “app details” link in the overview page. There you see the original bundle identifier.

That is where I was pulling mine from but mine only says morgansmath it does not have com.thebrightbadger.morgansmath I am not sure where things when wrong. I know I put in com.thebrightbadger.morgansmath when I uploaded it last time.

-Tim Bowser
www.thebrightbadger.com

ok I put in morgansmath and it is not in review. Now I just need to figure out how it got named that. I went back to my first xcode that was submited and my id was not called that.

-Tim Bowser
www.thebrightbadger.com

Sorry I meant to say it is in review now.

-Tim Bowser
www.thebrightbadger.com

Ah, good, glad it worked for you now!

Thank you so much for posting this. I was so confused why I was getting this error.