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

Viewed 28102

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.

24 Answers

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

For anyone trying with Xcode 11, check the Xcode version. If it's Version 11.0 (11A419c) you cannot submit a build to the app store with this version. Get Xcode Version 11.0 (11A420a).

Apps built with Xcode 11 GM seed (11A419c) can no longer be uploaded to App Store Connect. You can now submit apps built with Xcode 11 GM seed 2 (11A420a) using the iOS 13 SDK and watchOS 6 SDK to the App Store.

A new beta or Golden Master version of Xcode is about to be released, just look for it a few hours later.

Follow this to resolve this issue:

  1. Quit Xcode and any Simulators if they are opened.

  2. Go to this link to download Xcode 11.2.1 GM seed under Applications. Its about 7GB: https://developer.apple.com/download/

enter image description here

  1. After downloading, click the Xcode_11.2.1_GM_Seed.xip file to extract the Archive.

  2. After extracting, move the Xcode file from Downloads to the Application folder.

enter image description here

  1. Replace existing Xcode application.

enter image description here

  1. Enter login password when prompted.

enter image description here

  1. Wait for the Moving to complete.

enter image description here

  1. When finished, launch Xcode and checkout About Xcode to confirm the latest version.

enter image description here

  1. Build your App, increment your build number and submit to App Store.

enter image description here

UPDATE: Version 11.2.1 is now available from App Store itself since Nov 13.

Archive you application using the stable Xcode version and upload it using Xcode beta. This solved the problem for me.

I received this error having archived our app from the command line using fastlane gym. When I archived the app manually using Xcode I did NOT receive the error.

I guess there's something wrong with the arguments/config I am passing to fastlane gym. If I work out what this is I will report back.

You cannot upload app to App Store through beta Version of Xcode. Make sure you're using stable version to push app to App Store

I just want to add what is says at the bottom of the Using Apple Beta Software page (https://developer.apple.com/support/beta-software/) IF you are using a BETA version of XCode and try to submit it will fail every time UNLESS you are on a GM_seed (Golden Master release, aka the release before the release to production) Since I do not have enough "reputation" to comment @Chuck Smith. I created this. Hope this helps. Today is 11/8/2019 and I downloaded and submitted my app with success.

Submitting Apps

Apps that are created using beta versions of Xcode or that are built for beta versions of an OS will not be accepted on the App Store. Apps that you submit should be developed using the most up-to-date version of Xcode from the Mac App Store and should be built for publicly available versions of iOS, macOS, watchOS, and tvOS — except when GM seeds are available. When a GM Seed of Xcode becomes available, use it to develop your app for submission. When GM seeds of iOS, macOS, watchOS, or tvOS become available, build your app for these versions.

Here is what I did after going through the internet.

  1. Download the latest Xcode from https://xcodereleases.com/ (You can download without signing in).

  2. You might get an error "Data is corrupted" when you extract above-downloaded file ending with .xip

  3. To solve this unzip it using Archive Utility.app rather than The Unarchiver.app

I was getting same error while i was uploading for apple review using Xcode 11.2.

Fixes steps: Apple decided to deprecate Xcode 11.2 on November 5th 2019. Xcode 11.2 has UITextView Building buggy code. So, Apple suggested to use Xcode 11.2.1 GM seed.

You can download from link https://developer.apple.com/download/

Message From Apple: This update fixes a critical issue that could cause apps using UITextView to crash when run on previous versions of iOS, iPadOS, or tvOS. Please see the release notes

You can build and release app using Xcode 11.2.1 GM seed. Hoping this will help some people.

November 2019 with Xcode 12.1?

2 days ago Apple released a 11.2.1 version which you can download/update from App Store. Fixing this problem as of today is as easy as installing/updating Xcode 12.2.1 from the official App Store.

Checked it on my app and was able to successfully deploy after this update, just make sure to upload the app build with the new Xcode (12.2.1), otherwise you'll see an error Invalid Toolchain. Your app was built with an unsupported version of Xcode or SDK. If you plan to submit....

You should see again the green, positive confirmation :)

enter image description here

Before I am using Xcode 12 beta version and the reason is that only.

I have downloaded the stable version of Xcode 12 and IPA got validated successfully.

You can download latest version from here: https://developer.apple.com/download/

Thank you.

You need to get the archive with the latest stable(not beta) version of Xcode.

Related