Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR ITMS-90725: Please update Xcode and rebuild your app

My current project in Swift 3.2 and Xcode 8.3 this error comes today even I have successfully uploaded to iTunes before 3 days.

ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS '10.3' SDK. All new iOS apps submitted to the App Store must be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Please update Xcode and rebuild your app."

like image 598
Salman Ghumsani Avatar asked May 04 '18 15:05

Salman Ghumsani


2 Answers

From Apple's Submitting apps to the App Store:

Starting April 2018, all new iOS apps submitted to the App Store must be built with the iOS 11 SDK.

And a related (older but probably useful) Technical Note:

It is not practical for Xcode to force every project to build with the latest SDK. For example, it may be necessary to ship an immediate hot-fix version of app - without waiting until the app has been fully updated for a newer SDK.

But it's important to understand that using an older SDK is a temporary workaround, not a solution. Issues preventing your app from using the latest SDK should be fixed as soon as possible. It will be much easier to fix these issues while the older build system is still supported.

Important: No Legacy SDK version will be supported indefinitely.

like image 192
spassas Avatar answered Sep 29 '22 07:09

spassas


I met with similar problem now and found solution for it. My warning looked like following:

ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 12.0 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.

App was built and uploaded with the newest stable XCode (10.1)

To check what SDK indeed you have installed, use terminal with following command:

xcodebuild -sdk -version

In response you will get printed all SDKs. In my case the problem was double SDK 12.1, but one of them was pointing on wrong path (like for iPhoneOS12.0.sdk):

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk 

Solution

Solution in this case is simple.

  1. Open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

There you will find 2 shortcuts pointing to iPhoneOS.sdk.

  1. Remove iPhoneOS12.0.sdk alias.

  2. Well done.

Probably XCode takes wrong SDK based on aliases available in SDKs folder. In my case solution provided above made it working correctly without any warning.

like image 32
lukszar Avatar answered Sep 29 '22 05:09

lukszar