简体   繁体   English

警告:“SDK 版本问题”。 代码 10.1

[英]WARNING : "SDK Version Issue". xcode 10.1

when upload my app with xcode 10.1 i'm getting the Warning当使用 xcode 10.1 上传我的应用程序时,我收到了警告

WARNING 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.警告 ITMS-90725:“SDK 版本问题。此应用程序是使用 iOS 12.0 SDK 构建的。从 2019 年 3 月开始,所有提交到 App Store 的 iOS 应用程序必须使用 iOS 12.1 SDK 或更高版本构建,包含在 Xcode 10.1 或更高版本中。

My project was developed in swift 4.2.1 and xcode 10.1我的项目是在 swift 4.2.1 和 xcode 10.1 中开发的

Make sure you have the latest version of Xcode.确保您拥有最新版本的 Xcode。

If you do have Xcode 10.1 (or later) this is just a reminder that all of your apps need to comply with these terms.如果您有Xcode 10.1 (或更高版本),这只是一个提醒,您的所有应用程序都需要遵守这些条款。

Also regardless of Xcode version if your app did archive/build successfully you have nothing to worry about at the moment.此外,无论 Xcode 版本如何,如果您的应用程序确实成功归档/构建,您目前无需担心。

EDIT:编辑:

Now ALL APPS and GAMES submitted to the AppStore must have the 12.1 SDK or they will be rejected.现在提交到 AppStore 的所有应用程序和游戏都必须具有 12.1 SDK,否则它们将被拒绝。

If your app is still rejected and you have Xcode 10.1 (or later), update Xcode or reinstall, as the SDK was not integrated correctly by the system.如果您的应用仍然被拒绝并且您有Xcode 10.1 (或更高版本),请更新 Xcode 或重新安装,因为系统未正确集成 SDK。

Also, if you're running a CI/CD pipeline/workflow (such as Bitrise), make sure you've updated the Xcode version in the tool's Stack as well.此外,如果您正在运行 CI/CD 管道/工作流(例如 Bitrise),请确保您也已更新工具堆栈中的 Xcode 版本。 In my case, my local version was correct but the Xcode version in my pipeline referenced 10.0 rather than 10.1就我而言,我的本地版本是正确的,但我的管道中的 Xcode 版本引用了 10.0 而不是 10.1

This trick worked for me: Download Xcode 10.2, extract and just copy(iPhoneOS12.2.sdk Folder): or direct download zip: https://drive.google.com/file/d/1ZGANCBE90Ogt4FD_y_ACgcIFP0qQapSf/view?usp=sharing这个技巧对我有用:下载 Xcode 10.2,解压并复制(iPhoneOS12.2.sdk 文件夹):或直接下载 zip: https ://drive.google.com/file/d/1ZGANCBE90Ogt4FD_y_ACgcIFP0qQapSf/view?usp=sharing

Right click->Show Package Contents->Contents->Developer->Platforms->iPhoneOS.platform->Developer->SDKs->iPhoneOS12.2.sdk and past it same directory on your Xcode.右键单击->Show Package Contents->Contents->Developer->Platforms->iPhoneOS.platform->Developer->SDKs->iPhoneOS12.2.sdk 并将它放在 Xcode 上的同一目录中。 after this close your Xcode, reopen Xcode, Archive and upload again.关闭 Xcode 后,重新打开 Xcode,存档并再次上传。

I had to uninstall Xcode 10.1 and re-install it.我不得不卸载 Xcode 10.1 并重新安装它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM