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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/53786309/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:53:08  来源:igfitidea点击:

WARNING : "SDK Version Issue". xcode 10.1

iosswiftxcodesdk

提问by Karol Idarmi

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 中开发的

采纳答案by Nol4635

Make sure you have the latest version of Xcode.

确保您拥有最新版本的 Xcode。

If you do have Xcode 10.1this 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 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, update Xcode or reinstall, as the SDK was not integrated correctly by the system.

如果您的应用程序仍然被拒绝并且您拥有Xcode 10.1,请更新 Xcode 或重新安装,因为系统未正确集成 SDK。

回答by Native_Mobile_Arch_Dev

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. In my case, my local version was correct but the Xcode version in my pipeline referenced 10.0 rather than 10.1

此外,如果您正在运行 CI/CD 管道/工作流(例如 Bitrise),请确保您也更新了工具堆栈中的 Xcode 版本。就我而言,我的本地版本是正确的,但我的管道中的 Xcode 版本引用了 10.0 而不是 10.1

回答by Confused Vorlon

I had to uninstall Xcode 10.1 and re-install it.

我不得不卸载 Xcode 10.1 并重新安装它。

回答by Nikhilesh

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. after this close your Xcode, reopen Xcode , Archive and upload again.

右键单击->显示包内容->内容->开发者->平台->iPhoneOS.platform->开发者->SDKs->iPhoneOS12.2.sdk 并将其粘贴到您的 Xcode 上的相同目录中。关闭您的 Xcode 后,重新打开 Xcode ,存档并再次上传。