错误 ITMS-90725:请更新 Xcode 并重建您的应用
ERROR ITMS-90725: Please update Xcode and rebuild your app
我在 Swift 3.2 和 Xcode 8.3 中的当前项目今天出现这个错误,即使我在 3 天前成功上传到 iTunes。
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."
来自苹果的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.
还有一个相关的(较旧但可能有用)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.
我现在遇到了类似的问题,找到了解决方案。
我的警告如下所示:
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.
应用是使用最新的稳定版构建和上传的 XCode (10.1)
要检查您确实安装了哪些 SDK,请使用以下命令使用终端:
xcodebuild -sdk -version
作为响应,您将打印所有 SDK。在我的例子中,问题是双 SDK 12.1,但其中一个指向错误的路径(比如 iPhoneOS12.0.sdk):
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
解决方案
这种情况的解决方法很简单。
- 打开/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
在那里你会找到 2 个指向 iPhoneOS.sdk 的快捷方式。
删除 iPhoneOS12.0.sdk 别名.
做得好。
可能 XCode 根据 SDKs 文件夹中可用的别名采用了错误的 SDK。在我的案例中,上面提供的解决方案使它在没有任何警告的情况下正常工作。
我在 macOS High Sierra 10.13.4 和 Xcode 10.2.1[=24= 上遇到了同样的问题].
错误 ITMS-90725:“SDK 版本问题。此应用程序是使用 iOS 12.2 SDK 构建的。截至 2020 年 6 月 30 日,iPhone 或iPad 必须使用 iOS 13 SDK 或更高版本构建,包含在 Xcode 11 或更高版本中。"
但根据 this documentation 更新 OS 和 Xcode 后,问题解决了。我的应用成功构建并提交到应用商店。
现在我使用 macOS Catalina 10.15.7 和 Xcode 12.1.
我在 Swift 3.2 和 Xcode 8.3 中的当前项目今天出现这个错误,即使我在 3 天前成功上传到 iTunes。
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."
来自苹果的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.
还有一个相关的(较旧但可能有用)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.
我现在遇到了类似的问题,找到了解决方案。 我的警告如下所示:
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.
应用是使用最新的稳定版构建和上传的 XCode (10.1)
要检查您确实安装了哪些 SDK,请使用以下命令使用终端:
xcodebuild -sdk -version
作为响应,您将打印所有 SDK。在我的例子中,问题是双 SDK 12.1,但其中一个指向错误的路径(比如 iPhoneOS12.0.sdk):
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
解决方案
这种情况的解决方法很简单。
- 打开/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
在那里你会找到 2 个指向 iPhoneOS.sdk 的快捷方式。
删除 iPhoneOS12.0.sdk 别名.
做得好。
可能 XCode 根据 SDKs 文件夹中可用的别名采用了错误的 SDK。在我的案例中,上面提供的解决方案使它在没有任何警告的情况下正常工作。
我在 macOS High Sierra 10.13.4 和 Xcode 10.2.1[=24= 上遇到了同样的问题].
错误 ITMS-90725:“SDK 版本问题。此应用程序是使用 iOS 12.2 SDK 构建的。截至 2020 年 6 月 30 日,iPhone 或iPad 必须使用 iOS 13 SDK 或更高版本构建,包含在 Xcode 11 或更高版本中。"
但根据 this documentation 更新 OS 和 Xcode 后,问题解决了。我的应用成功构建并提交到应用商店。
现在我使用 macOS Catalina 10.15.7 和 Xcode 12.1.