Can't submit apps to AppStore: ERROR ITMS-90534: "Invalid Toolchain

ERROR ITMS-90534: "Invalid Toolchain.

New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds." ERROR ITMS-90534: "Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds."

I found this error during upload IPA to account.


Solution 1:

If you're looking at this in November 2019, there's an obscure error in Xcode 11.2, which prevents uploading from that version to the App Store. You'll have to upgrade to Xcode 11.2.1, which is currently not available on the Mac App Store yet, but must be downloaded from the Developer Portal here: https://developer.apple.com/download/

The Xcode 11.2 Archive error log even states:

enter image description here

Edit:

Xcode 11.2.1 is now available on the AppStore:

https://apps.apple.com/us/app/xcode/id497799835?mt=12

Solution 2:

I was having the same issue with Xcode 8.3 public version. I reinstall the Xcode and check it, but didn't work ...

Finally I found the issue , I have mistakenly selected Xcode 3.2-compatible in project format under project document. I changed it to Xcode 8.0-compatible and build & archived it. I could upload it without any errors. Check the screen shot attached ..

enter image description here

Solution 3:

Xcode 11.2 is deprecated by Apple on November 5, 2019


Always working workaround (Manual download)

Download the xip file from here

Also:

Latest Release version (Xcode 11.2.1)

or

Latest Beta version (Xcode 11.3 Beta)

or

Any version you need. And all other downloadable contents

Then extract and move it where you like.

You can find all workaround histry of the issue here.

Solution 4:

The same issue occurs with me today (13 July 2017).

As I was using XCode 9 beta 2, till date. Everything was working fine.

The last build which I uploaded was on 9th of July 2017, using XCode 9 beta 2.

After trying a lot of changes, finally the fix was:

Upgrading to the latest beta of XCode, which was XCode 9 beta 3 (released on 10th July 2017).

BOTTOMLINE:

If you are using any beta version of XCode, and if it is outdated. Apple will reject your build from that version causing the error asked by questioner. As long as the version is stable you don't need to worry.

It is recommended to check your current version is latest or not. If not, then download the latest XCode and push a new build achieved using the latest XCode beta

Why I didn't use a stable version of XCode instead?

The stable version at this time is XCode 8.3.3, and the language used is Swift 3.

Though there is minimum code breaking change from Swift 3 to 4, but my latest code base was Swift 4. Plus, you might be having Pods in your project which also has to be downgraded to the latest stable version. Until a stable version of XCode 9 is out. So, I opt to download the latest version of XCode beta

Solution 5:

I ran into this issue today with the App Store version of Xcode 9.2.

It's definitely not a beta release, I'm guessing there's some delay between when the software is released and iTunes connect gets updated to expect the new version.

I've tried all the suggestions above, and none worked... but here's what (although pretty sketchy) did for work me:

  • in organizer, right-click your archive and show in finder
  • show package contents
  • find Products/Applications/yourApp.app
  • show package contents
  • edit Info.plist
  • change the value for DTXcodeBuild to a previous version (9.2 is 9C40b, 9.1 is 9C40)
  • save and try again

This worked for me...