尽管 Xcode 是最新的,但 iOS 应用程序提交会产生“无效的工具链”

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

iOS app submission yields "invalid toolchain" although Xcode is up-to-date

iosiphonexcodeapp-store-connect

提问by Kirill

I have submitted my app to the app store using Xcode 6.4 on OS X 10.11, the app was pre-approved for testing. I then iterated through 5 builds all of which were uploaded successfully and installed on multiple test devices. Now that I am trying to submit for the final approval, I am getting:

我已在 OS X 10.11 上使用 Xcode 6.4 将我的应用程序提交到应用程序商店,该应用程序已预先批准进行测试。然后我迭代了 5 个版本,所有版本都成功上传并安装在多个测试设备上。现在我正在尝试提交最终批准,我得到:

"Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, and iOS 8 SDK or later. Don't submit apps built with beta software. "

"Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, and iOS 8 SDK or later. Don't submit apps built with beta software. "

How can this be given that I am using Xcode 6.4, the app is set to run on iOS 8 or greater, and all of my previous builds, including the current, have been just fine getting into the test program and being installed?

如果我使用的是 Xcode 6.4,应用程序设置为在 iOS 8 或更高版本上运行,并且我以前的所有版本(包括当前版本)都可以很好地进入测试程序并被安装,这怎么可能?

Does anyone know how I could rectify this situation to get my app into the final step?

有谁知道我如何纠正这种情况以使我的应用程序进入最后一步?

回答by Nicolas Braun

OS X 10.11 El Capitan is a beta software you cannot use it to build and submit iOS App to the store.

OS X 10.11 El Capitan 是一个测试版软件,您不能使用它来构建和提交 iOS 应用程序到商店。

There is a dirty way to manage it but I personally would not do it https://stackoverflow.com/a/32233429/3979236

有一种肮脏的管理方式,但我个人不会这样做https://stackoverflow.com/a/32233429/3979236

回答by SwiftArchitect

If you installed a beta version of a non GM Xcode, your toolchain may be confused.

如果您安装了非 GM Xcode 的测试版,您的工具链可能会混淆。

Go to Accountsin Xcode Preferences, select the account name under which you are attempting to publish, and View Details...

转到AccountsXcode 首选项,选择您尝试发布的帐户名称,然后查看详细信息...

In Signing Identities> Action, either Createthe missing one or Resetthe offending one.

Signing Identities> Action 中,要么Create是丢失的,要么是Reset有问题的。

回答by Kristian

For anyone getting this error while using xcode 7 beta.

对于在使用 xcode 7 beta 时遇到此错误的任何人。

I went to the appstore and downloaded xcode 7.0.1 and then re-archived and released and it worked fine on the first try.

我去了应用商店并下载了 xcode 7.0.1,然后重新存档并发布,第一次尝试时效果很好。