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


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 (package) and we are also using prod/distribution certs from apple developer. The app builds fine in release mode out to - we then download the .ipa from 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?


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?


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