ITMS 9000: The binary you upload was invalid

荒凉一梦 提交于 2019-11-28 19:07:06

I was having the same issue since last night and finally got it to work just now. Had to go through this process

  1. Logged in on https://developer.apple.com> > Certificates, Identifiers & Profiles > Provisioning Profiles and revoked my company's Distribution Certificate.

  2. Then Xcode > Preferences > Accounts > Apple IDs > (my company) > View Details and refreshed the certificates and Provisioning Profiles. It prompted that no Distribution Certificate was found on the Developer Profile and offered to request one on my behalf, which it did.

  3. Launched Keychain Access > Certificates and removed all of the expired Certificates (somehow I had a few of them)

  4. I went back to https://developer.apple.com> > Certificates, Identifiers & Profiles > Provisioning Profiles and edited all of my manually managed Provisioning Profiles (Development — which had to be re-generated — and Distribution — which had to be linked to the newly created Distribution Certificate and generated again)

  5. Once again Xcode > Preferences > Accounts > Apple IDs > (my company) > View Details and refreshed the certificates and Provisioning Profiles.

Credit to Rodrigo on the apple dev forums

iTunes connect (or at least some services that iTunes Connect uses) are down for the moment, so "Take a break for an hour, try again ..." is your best shot. Apple of course doesn't update their status page until tomorrow or so. https://developer.apple.com/system-status/

It's on Apple's side. I tried to validate a couple of apps that worked last night, no changes in code, credentials, or Xcode and this is what I get.

We found it wasn't necessary to revoke anything- when I went to Provisioning Profiles->Distribution, the two profiles for our two apps we were trying to release had been removed. I recreated those profiles (but I had to assign new names, using the old name led to a "profile already exists" message- so those identifiers are still out there- somewhere). Downloaded and installed the new profiles, resubmitted the archives we made on 7/18/14, and everything sailed right through.

Raman soni

Apple iTunes' Connect server is down at the moment. I have tried almost everything, but all failed.

I suggest as above to take some rest and try upload after an hour or so.

Geet

I ran into the same error when I tried validating my app. I got a message saying,

Unable to process app at this time due to general error

I searched on SO for this and only found a suggestion to wait for some time, as this is an error from Apple's servers. I tried all sorts of things, from playing with provisioning profiles to improving app performance and linking libraries, none of which resolved the issue. Unfortunately, I guess we don't have any other options than to wait and let Apple do its work.

skrew

Yesterday, I had to regenerate an expired distribution certificate and got errors each time. Now it works, but I got the invalid binary error. It looks like Apple have done some changes and missed up something.

There might be a link between a change in certificates yesterday and the invalid binary error today, which gives a possible explanation of this problem.

I've had the same issue and have found out that my Provisioning Profile for Distribution "somehow" disappeared from the Apple Developer Portal. But when I tried to re-create it, I received error message about the existing one (which I couldn't find at all).

Finally, I've just created a brand new Distribution Provisioning Profile, downloaded and installed it. In the end, I was able to validate the application package and upload was successful.

blakey87

Just spent a while on this also, my upload previously worked and managed to get through validation.

However, once up Apple would fail/reject the uploaded binary due to something similar to the below https://stackoverflow.com/questions/18952213/invalid-directory-name-your-app-contains-a-directory-name-that-is-already-rese#=

Upon retrying, later without making any modifications, rather then sucedding then failing after validation I started receiving an error exactly the same as the OP.

Fixing the framework reference issue, enabled me to succesfully upload.

So rather then uploading passing validation and then being rejected, it would not pass validation, and I give the same error, without any hints.

Hopefully this helps someone else.

In my case I updated my Mac version and it worked fine afterwards.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!