xcode iTunes Connect:导入此版本时出错

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

iTunes Connect: There was an error importing this build

iosxcodeapp-store-connect

提问by sschale

I'm working on an iOS app that last week had a build successfully uploaded to iTunes Connect and then distributed for testing via TestFlight.

我正在开发一个 iOS 应用程序,该应用程序上周将构建成功上传到 iTunes Connect,然后通过 TestFlight 分发进行测试。

This week, I updated to Xcode 7.3 and now when I update the same project (with changes just for Swift 2.2 compatibility and some other bug fixes I did), I am able to archive and submit the build through Xcode, but then instead of processing and receiving an email that the build is ready to test, the build shows up in iTunes Connect like this, with the displayed error message. I don't receive any email or other error message about what could be wrong:

本周,我更新到 Xcode 7.3,现在当我更新同一个项目时(仅针对 Swift 2.2 兼容性进行了更改,并修复了一些其他错误),我可以通过 Xcode 存档和提交构建,但随后不再进行处理并收到一封电子邮件,表明该版本已准备好进行测试,该版本会像这样显示在 iTunes Connect 中,并显示错误消息。我没有收到任何关于可能出错的电子邮件或其他错误消息:

enter image description here

在此处输入图片说明

I haven't found any other solutions searching online about this issue. I've gotten in contact with Apple and the issue has been escalated but haven't heard back yet.

我还没有在网上搜索有关此问题的任何其他解决方案。我已与 Apple 取得联系,问题已升级,但尚未收到回复。

Update- Apple has escalated to engineering, awaiting response.

更新- Apple 已升级为工程部门,正在等待回复。

Update 2- Apple replied that this is a known issue with Xcode 7.3 and Bitcode, see answer below for solution.

更新 2- Apple 回复说这是 Xcode 7.3 和 Bitcode 的一个已知问题,请参阅下面的答案以获取解决方案。

采纳答案by sschale

Apple has replied that this is a known issue with Xcode 7.3and Bitcode. So, I disabled including Bitcode uploading with the binary and it successfully processed!:

Apple 已回复说,这是Xcode 7.3Bitcode 的一个已知问题。所以,我禁用了包含二进制文件的 Bitcode 上传,它成功处理了!:

enter image description here

在此处输入图片说明

You do notneed to disable it for the entire project, but it works that way too (tested with both project Bitcode enabled/disabled with Bitcode upload inclusion disabled).

不需要为整个项目禁用它,但它也可以这样工作(在启用/禁用项目 Bitcode 和禁用 Bitcode 上传包含的情况下进行测试)。

Edit: Builds as of 4/7/16 are now successfully uploading and processing with Bitcode.

编辑:截至 2016 年 4 月 7 日的构建现在可以使用 Bitcode 成功上传和处理。

回答by kris

I received this error for the first time yesterday.
I did not have bitcode turned on.
I had no other message beyond the iTunes "There was an error importing this build".

我昨天第一次收到这个错误。
我没有打开位码。
除了 iTunes“导入此版本时出错”之外,我没有其他消息。

Today I bumped up the version number and resubmittedand it worked.

今天我调高了版本号并重新提交,它起作用了。

enter image description here

在此处输入图片说明

回答by dbmrq

Random problems like this happen to me sometimes and instead of uploading from the Xcode organizer what I do is use the organizer to export a build and then use Application Loader (available from the Xcode menu -> Open Developer Tool) to actually upload it. Sometimes it helps and sometimes it doesn't, but it's worth a try.

像这样的随机问题有时会发生在我身上,我所做的不是从 Xcode 组织者上传,而是使用组织者导出构建,然后使用 Application Loader(可从 Xcode 菜单 -> 打开开发者工具获得)实际上传它。有时它有帮助,有时它没有,但值得一试。

回答by Rahul Verma

Just in case if aforementioned solution not worked for you try the following. Cause none of the listed solution worked for me.

以防万一,如果上述解决方案对您不起作用,请尝试以下操作。因为列出的解决方案都不适合我。

  1. Check for the Xcode Version. It should not be a BETA release.
  2. If still getting issue the upload it using Application Loader. Don't use CMD + Space to launch Application Loader. It might open old or different version Application Loader. Which leads you to ambiguous bugs. Launch from the Xcode menu Xcode -> Open developer tool -> Application Loadersolves the problem. Please make sure you do it from the version of the Xcode that you used to build your app.
  1. 检查 Xcode 版本。它不应该是 BETA 版本。
  2. 如果仍然出现问题,请使用 Application Loader 上传它。不要使用 CMD + Space 来启动 Application Loader。它可能会打开旧版本或不同版本的 Application Loader。这会导致您遇到模棱两可的错误。从 Xcode 菜单启动Xcode -> Open developer tool -> Application Loader解决了这个问题。请确保您使用用于构建应用程序的 Xcode 版本执行此操作。

Cheers!! :)

干杯!!:)

回答by atitpatel

Give it some time(an hour or two). It auto-solves.

给它一些时间(一两个小时)。它会自动解决。

May or may not work be a good advice, but this is what worked for me.

可能会或可能不会是一个很好的建议,但这对我有用。