问题
i'm getting the Warning when i upload my application through xcode 8.x.
Xcode for future app deliveries." WARNING ITMS-90725: "SDK Version Issue. In July 2018, iOS app updates submitted to the App Store will need to be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Make sure to update Xcode for future app deliveries."
My project was developed in old swift 2.X language and some of the module in objective-c..
should i convert whole project to the latest swift 4.x and update all sdks?
回答1:
Starting in July, all app updates and all new apps submitted to the App Store must be created with a Base SDK of iOS 11.0 or later. This requires Xcode 9.0 or later. This means your app must be in Swift 4 or later. You may still support earlier versions of iOS (either 8 or 9) in your app.
Swift 2 has been obsolete for a few years already.
So yes, you need to convert to Swift 4 and update any libraries you may be using accordingly. Use Xcode 8 to first convert your Swift 2 code to Swift 3 (huge change). Then use Xcode 9 to convert the Swift 3 code to Swift 4 (minor changes).
Apple wants you using the latest tools. You need to keep up. It's best to avoid waiting until cutoffs like this, it just makes updating your app that much harder.
回答2:
Yes you update your code to swift 4.
First, they said April, and how that deadline absolutely positively included updates. Then the general lever wasn't actually pulled until right after May 1. Now they say July for updates...
Seems to be a moving target. That, and how the left hand is out walking the dog while the right hand is texting about the new red phone.
来源:https://stackoverflow.com/questions/50570512/sdk-version-issue