xcode iTunes Connect 无效 SDK 值:LC_VERSION_MIN_IPHONEOS

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31792450/
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 07:36:32  来源:igfitidea点击:

iTunes Connect invalid SDK Value: LC_VERSION_MIN_IPHONEOS

iosiphonexcodeapp-store-connectvisual-studio-cordova

提问by Roger99

I am building an iOS application with Apache Cordova Tools for Visual Studio and I have built my Application correctly and i have gotten it through the exporting to xCode process, Archiving, and submitting to the App Store. I thought it was finally done until i got this error when trying to submit to the App Store:

我正在使用适用于 Visual Studio 的 Apache Cordova 工具构建一个 iOS 应用程序,并且我已经正确构建了我的应用程序,我已经通过导出到 xCode 流程、存档和提交到 App Store 获得了它。我以为终于完成了,直到我尝试提交到 App Store 时出现此错误:

Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 SDK. Invalid sdk value. The value provided for the sdk portion of LC_VERSION_MIN_IPHONEOS in ****APP NAME**** is 9.0 which is greater than the maximum allowed value of 8.4.

提交到 App Store 的应用程序和应用程序更新必须使用 Xcode 5.1.1 或更高版本以及 iOS 7 SDK 构建。无效的 SDK 值。为 ****APP NAME**** 中 LC_VERSION_MIN_IPHONEOS 的 sdk 部分提供的值为 9.0,大于允许的最大值 8.4。

I understand that this means i need to change this variable to a number below 8.4 but i can't find where in the project this value is set. If anyone could let me know how to modify this variable through Visual Studio or through an xCode file i would greatly appreciate it.

我知道这意味着我需要将此变量更改为低于 8.4 的数字,但我无法在项目中找到此值的设置位置。如果有人能让我知道如何通过 Visual Studio 或通过 xCode 文件修改此变量,我将不胜感激。

回答by Roger99

Figured out my mistake. This was my first time publishing an iOS application so i thought downloading the latest version of xCode would be the best environment to develop in but the latest version turned out to be a BETA version of the software so publishing was not supported. After downgrading back to the most recent non-BETA verison of xCode i was able to submit the Application.

想通了我的错误。这是我第一次发布 iOS 应用程序,所以我认为下载最新版本的 xCode 将是最好的开发环境,但最新版本是该软件的 BETA 版本,因此不支持发布。降级回最新的非 BETA 版 xCode 后,我能够提交申请。