App archived with Xcode 11.2 (11B52) rejected: ITMS-90534: Invalid Toolchain - ios

I have installed both Catalina and Xcode 11 from store and they are up to date:
Catalina: 10.15.1 (19B88)
Xcode: 11.2 (11B52)
Yesterday I have uploaded a new binary using fastlane. Today I got this message from Apple:
Dear Developer,
We identified one or more issues with a recent submission for App
Store review for your app, "Gözen Security" 7.3.2 (67). Please correct
the following issues, then upload again.
ITMS-90534: Invalid Toolchain - Your app was built with an unsupported
version of Xcode or SDK. If you plan to submit this build to the App
Store, make sure you are using the GM version of Xcode 10.1 and the
SDK for iOS 12.1 and watchOS 5.1, Xcode 7.1 and the SDK for tvOS 9, or
Xcode 6 and the SDK for macOS 10.9 or later. If you are using an Xcode
beta version to test your app, make sure you are using the latest
supported version. For more information about supported beta versions,
view the App Store Connect What's New page
(https://developer.apple.com/app-store-connect/whats-new/).
Best regards,
The App Store Team
Since Catalina and Xcode 11 are officially released why Apple still want me to use Xcode 10 and iOS 12?

Xcode was updated to 11.2.1 version. Builds made in Xcode ver 11.2 are not valid anymore. If you do not see the update in the Mac App Store then go to your developer account and download new Xcode manually.

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.

Related

Xcode 11.3 does not have latest iOS version

Any reason the latest version of iOS is not available in the update version of Xcode ? 13.3 is missing and this allowed for me to upload a tested version of an application which was subsequently approved and then once released caused a crash.
Downloaded the latest BETA release of Xcode and that has 13.3 as well as 13.4.
The current stable release of Xcode allows my code to build but it will not pass approval in the store because of the missing SDK. Just be aware of this should you have a similar issue.

App store app uploading failed with ERROR ITMS-90534 and WARNING ITMS-90703 [duplicate]

This question already has answers here:
App archived with Xcode 11.2 (11B52) rejected: ITMS-90534: Invalid Toolchain
(2 answers)
Closed 3 years ago.
I'm trying to upload the app to the app store. But getting the error as below:
App Store Connect Operation Error
ERROR ITMS-90534: "Invalid Toolchain. Your app was built with an unsupported version of Xcode or SDK. If you plan to submit this build to the App Store, make sure you are using the GM version of Xcode 10.1 and the SDK for iOS 12.1 and watchOS 5.1, Xcode 7.1 and the SDK for tvOS 9, or Xcode 6 and the SDK for macOS 10.9 or later. If you are using an Xcode beta version to test your app, make sure you are using the latest supported version. For more information about supported beta versions, view the App Store Connect What's New page (https://developer.apple.com/app-store-connect/whats-new/)."
App Store Connect Operation Warning
WARNING ITMS-90703: "Deprecated Xcode Build. Due to resolved app archives issues, we have deprecated Xcode 11.2 on November 5, 2019. Download Xcode 11.2.1 or newer, rebuild your app and resubmit."
WARNING ITMS-90703 states that Xcode 11.2 is deprecated. Download 11.2.1 or newer, but Apple has not released the newer version after Xcode 11.2.
Please advise how to resolve this error.
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.

Submit to App Store built with iOS 12.1 SDK

I’m using Xamarin Forms 3.4 and VSTS to build and deploy to iTunes and Google Play.
During February (perhaps a bit earlier) I was getting a warning when I was trying to deploy to iTunes. The warning was the following
SDK Version Issue - This app was built with the iOS 11.4 SDK.
Starting March 2019, all iOS apps submitted to the App Store must be built
with the iOS 12.1 SDK or later, included in Xcode 10.1 or later
Everything that I tried so far didn’t work.
So I added a “Bash script” step before the build step and added the following 2 lines in the script
sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_16_0
echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'/Applications/Xcode_10.1.app;sudo xcode-select --switch /Applications/Xcode_10.1.app/Contents/Developer
I found the previous script and guideline in https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml&viewFallbackFrom=vsts#xcode
The build is successful but the deployment to iTunes fails with the error
ERROR ITMS-90596: "Invalid Bundle. The asset catalog at 'Payload/MyApp.iOS.app/Assets.car' can't be processed. Rebuild your app, and all included extensions and frameworks, with the latest GM version of Xcode and resubmit."
Before adding the “Bash script” step, I didn’t have this problem in iTunes deployment.
So I guess that the question is obvious… what am I doing wrong?
Go to This Link And look at
Apple has indicated that starting in March 2019, all apps and updates
submitted to the App Store must have been built with the iOS 12.1 SDK
or later, included in Xcode 10.1 or later. Apps should also support
the iPhone XS and 12.9" iPad Pro screen sizes.
I think in your case maybe updating Visual studio will solve your issue, Because updating VS will update your Xamarin.iOS sdk version to 12.1+ if it is lower than this.
And also if you have Xcode 9.4 installed then you will need to install Xcode 10.1 to provide support for iOS 12.0 and above for Visual Studio
You can download latest version of Xcode from following link
How to download Xcode DMG or XIP file?

IPA upload error

I updated my app for ios 11 using Xcode 9 beta 5.(Objective C app)
The app is running(with Xcode 8.3 as well as Xcode 9 beta) without any error even on the device.
Today, I have created a build using XCode 8.3 to upload on test-flight, Which is giving below error on uploading to iTunes.
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."
Note - I used Xcode 8.3 to archive and upload build not Xcode 9 beta
Please suggest any solution to fix this error.
An error message it self says, Use stable (not beta) version of Xcode
to create a build.
Your mac OS should also be stable (not beta)
Use Xcode 8.3.3 to create your build and upload using Application Upload.
Ensure following checkpoints, while creating your build:
Xcode version
Mac OS version
Xcode Project (Document) Format version (Xcode 8.0-compatible)
We can submit the build for testing iOS 11 related changes using Xcode 9 beta 6 version.
refer to the below link :-
https://forums.developer.apple.com/thread/85984
But for store distribution, you have to wait until Xcode 9 (GM) version is not released.
For reference :-
https://www.reddit.com/r/iOSProgramming/comments/6wq7go/when_will_we_be_able_to_submit_ios_11_app/
10.12.6 is a fifth beta of macOS Sierra.
An error message it self says, Use stable (not beta) version of Xcode to create a build. Your mac OS should also be stable (not beta)

Is there a way to get iOS 7 simulator on Xcode 7

I just updated my Xcode to the newest version (7.0 7A220) and I lost the iOS 7 simulator that I had in the previous version. I still have the iOS 7 SDK and was wondering if there is way to use it on the newest version of Xcode, instead of installing another version of Xcode on my OS X.
Download the official installation package from: https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK7_1-7.1.1.1354140590.dmg
This is where Xcode 6.4 is downloading it from.
But it won't work on El Capitan, only on Yosemite. The runtime has a problem with El Capitan... So until Apple solves it (if they want to), we're stuck.
As for my initial analysis referred from link you cant install it and use older version of Xcode version for using respective iOS simulators. To use iOS 7.1 go for Xcode 6.4 or earlier. Install Xcode 6.4 and download respective simulator from Preference.
To download older version of Xcode you need to login with developer account https://developer.apple.com/downloads/

Resources