update xcode and ios - xcode

ITMS-90725: SDK Version Issue - This app was built with the iOS 13.2 SDK. All iOS apps submitted to the App Store must be built with the iOS 13 SDK or later, included in Xcode 11 or later. Further, starting April 26, 2021 iOS apps submitted to the App Store must be built with the iOS 14 SDK or later, included in Xcode 12 or later.
My current xcode version is 11.3 I want to update it to xcode 12 and iOS 14.
Is there any way to update xcode without downloading manually?

Related

SDK Version Issue.This app was built with the iOS 14.5 SDK

ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 14.5 SDK. All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later.
My current version is macOs Big Sur version(11.4)
and my xcode version(12.5.1)
You need XCode 13 to use iOS 15 SDK. Simply update your XCode and MacOS (if necessary), then build the app again.
After updating XCode, your iOS SDK will be automatically updated.
Instruction for Older macOS:
Use this patch and upgrade your macOS https://github.com/Ben216k/Patched-Sur
After the upgrade, you can install XCode 13 on your older mac.
Here you can see all the supported mac lists: https://bensova.gitbook.io/big-sur/supported-macs
Below are steps I followed to solve the same issue in the same context:
Upgrade macOs Big Sur -> macOs Monterey v12.4
Update Xcode 12.x -> Xcode 13.x or later
Note: Upgrade could take some minutes. Hence, be patient

How to use iOS 14 in xcode

I am currently using Xcode Version 13.2.1 which has the latest simulator which is iOS 15.2.
I want to test my app on iOS 14, I have downloaded the simulators for this and even built my own iOS 14 sim but every time I try and view my app it defaults back to 15.2.
Any suggestions?

ITMS-90725: SDK Version Issue

When I upload my build to testflight, I received this mail from the App store connect.
I think If I update my Xcode to 11 it gets resolved.
Can anyone clarify how to check the SDK version and how to update that?
ITMS-90725: SDK Version Issue - This app was built with the iOS 12.1 SDK.
Starting April 2020, all iOS apps submitted to the App Store must be built with the iOS 13 SDK or later, included in Xcode 11 or later.
After you’ve corrected the issues, you can upload a new binary to App Store Connect.
You're guess is right. You need to update Xcode installation on the Mac which uploads the Testflight builds.
If it's a CI machine or some kind of cloud build service like Bitrise, you have to update/select a newer Xcode version. If you're submitting Testflight builds from your local Mac, update Xcode locally.
You can check on Wikipedia, which iOS SDK was introduced in which Xcode version:
https://en.wikipedia.org/wiki/Xcode
A quick summary:
Xcode version iOS Base SDK included
8.0 10.0
8.1 10.1
8.2 10.2
8.3 10.3
8.3.3 10.3.1
9.0 11.0
9.1 11.1
9.2 11.2
9.3 11.3
9.4 11.4
10.0 12.0
10.1 12.1
10.2 12.2
10.3 12.4
11.0 13.0
11.1 13.1
11.2 13.2
12.0 14.0
12.1 14.1
12.2 14.2
12.3 14.3
12.4 14.4
12.5 14.5
13.0 15.0
13.1 15.0
13.2 15.2
13.3 15.4
Every Xcode release is packed with a specific version of iOS Base SDK. You can't choose which Base SDK you want to use, only that particular version is available.
For example in Xcode 11.1 you can only use iOS 13.1 SDK. iOS 13.0 or iOS 13.2 SDK is not available.
Note: While you're picking the latest SDK with Xcode updates to access new features, you can still use for example iOS 10.0 Deployment Target in your project to support older devices.
If your message is missing the version in the first mention of IOS SDK in the error message, you may be experiencing an Apple bug like I did.
I received this error even thought I had the correct versions.
I changed nothing (except the build number) and resubmitted and it worked.
Here was the error I received:
ITMS-90725: SDK Version Issue - This app was built with the iOS SDK.
As of June 30, 2020, all apps for iPhone or iPad must be built with
the iOS 13 SDK or later, included with Xcode 11 or later.
Yes, After upgrading the Xcode the error not received for me from apple

App Store Connect Xcode Apk. was generate from ionic 4

Problem in Validate App, using Xcode 10.2.1
Project Format: I tried all formats. (Xcode 9.3-compatible, ...)
I receveid that message:
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 9 and the SDK for iOS 11, tvOS 11, watchOS 4, or macOS 10.13 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 TestFlight Release Notes (https://developer.apple.com/testflight/release-notes/).
I last option is trying to install Xcode 9.

Minimum Xcode version to upload to App Store

I currently use Xcode7 and I have to continue using it for compatibility reasons. Should I expect that Xcode 7 will be incompatible with the App Store soon?
The Xcode version changes once every year in April. Starting April 2022 you need to built with Xcode 13 and the iOS 15 SDK.
The updated documentation at https://developer.apple.com/ios/submit/ says now:
Starting April 2022, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 13 and the iOS 15 SDK.
At the time of the question the documentation said:
Please note that Starting March 2019, all iOS apps submitted to the App Store will need to be built with the iOS 12.1 SDK or later […]
As iOS 12.1 SDK is included in Xcode 10.1, Xcode 7 seemed to be incompatible for new builds.
Starting April 2021, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 12 and the iOS 14 SDK.
For more details : https://developer.apple.com/app-store/submissions/
Starting April, 2020, all apps submitted to the App Store will need to
be built with Xcode 11. Xcode 11 requires macOS Mojave 10.14.3 or
later.
More you can find here:
https://developer.apple.com/app-store/submissions/
As of April 2022, all iOS apps submitted to the App Store must be built with Xcode 13 (source).
This information can be found directly in iTunes Connect where you can select the Build for your App. (At least it says so for iOS Apps)
(In 2017, you needed Xcode 6 (or newer) or Application Loader 3 (or newer).)
Though the documentation (https://developer.apple.com/library/content/qa/qa1806/_index.html) says that the only way to ensure your Xcode configuration will be accepted is to "Validate" your build:
For compatibility reasons, the App Store will often accept apps that are built with some older versions of Xcode or Base SDK.
To determine if an older Xcode configuration is currently accepted by the App Store, you can choose "Archive" under the "Product" menu to make an archived build, then use the Validate feature, to test if that build meets minimum requirements for submission to the App Store.
Starting April 2022, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 13 and the iOS 15 SDK.
For more detail : https://developer.apple.com/ios/submit/

Resources