ERROR ITMS-90168: "The binary you uploaded was invalid."

bispope picture bispope · Feb 23, 2017 · Viewed 10.6k times · Source

ERROR ITMS-90168: "The binary you uploaded was invalid. "The resulting API analysis file is too large. We were unable to validate your API prior to delivery

I got the above error each time I want to upload the new version of my app to iTunes connect. I am using application loader for the upload. My application was developed using Codename one.

Please, any help will be appreciated. I have been on this for a long time now

Answer

Shai Almog picture Shai Almog · Feb 23, 2017

An invalid binary can happen for several reasons (the analysis file isn't the problem):

  • Outdated application loader - this is the most common reason. Make sure your Mac OS X version is up to date and the application loader tool is updated
  • Using debug instead of appstore built IPA
  • Incorrect provisioning - if you used provisioning or certificate incorrectly. This can happen if you re-run the certificate wizard before uploading the app as it can invalidate the existing certificate or regenerate provisioning