iTunes Connect error when uploading .ipa: The Binary you uploaded was invalid


#1

We are submitting our Ionic app to the Apple app store for review via iTunes Connect. When uploading the .ipa we get the following error: The Binary you uploaded was invalid.

We are building the app using ionic.io (package) and we are also using prod/distribution certs from apple developer. The app builds fine in release mode out to ionic.io - we then download the .ipa from ionic.io and upload to iTunes Connect. We are also not using Xcode in any capacity to build or change configurations before the build.

Any thoughts/help?


#2

Phew, that’s difficult to debug. Any other information?

Do you have a Mac handy and can try to build it locally? Maybe see if somethings goes wrong there or if Apple accepts that build?


#3

Ended up being a Package issue with Ionic.io. We re-built and it went through just fine.