5

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."

Salman Ghumsani
  • 3,647
  • 2
  • 21
  • 34

3 Answers3

2

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.

spassas
  • 4,778
  • 2
  • 31
  • 39
2

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.

lukszar
  • 1,252
  • 10
  • 13
  • While this may look similar, it is an entirely different issue. – Gereon Feb 11 '19 at 13:32
  • Nope removing the `iPhoneOS12.0.sdk alias` Didn't worked for me. In fact the moment I removed it I got numerous Compile Time Error which were associated with the 3rd party libs. – Yash Bedi Feb 11 '19 at 17:41
  • Let me know which SDK you have available in your system. Check with xcodebuild -sdk -version – lukszar Feb 12 '19 at 18:16
  • 1
    For me this fixed my issue. I had Xcode 10.1 and was getting a rejection. Removing the iOS 12.0 alias "fixed" it for me – Andreas777 Mar 28 '19 at 10:00
  • This worked for me. I deleted the alias for the older SDK and the error went away. – Mirthquakes May 12 '19 at 19:08
1

I had the same issue on macOS High Sierra 10.13.4 and Xcode 10.2.1.

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

But after update OS and Xcode according to this documentation its resolved. And my app successfully build and submit on appstore.

Now I use macOS Catalina 10.15.7 and Xcode 12.1.