ios 无法将应用程序上传到 iTunes Connect - iTunes Store 操作失败。认证超时

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

Unable to upload app to iTunes Connect - iTunes Store operation failed. Authentication timeout

iosxcodeapp-store-connect

提问by developer82

I'm trying to upload my app to iTunes Connect with Xcode. I chose product > archive, choose my account, it compiles and when I try to upload it hand for a long time on:

我正在尝试使用 Xcode 将我的应用程序上传到 iTunes Connect。我选择产品>存档,选择我的帐户,它会编译,当我尝试长时间上传时:

Uploading Archive
Sending API usage to iTunes Connect...

Then it shows an error message:

然后它显示一条错误消息:

Archive upload failed with errors: iTunes Store operation failed. Authentication timeout. Please restart Xcode

存档上传失败并出现错误:iTunes Store 操作失败。 身份验证超时。 请重新启动Xcode

I've restarted Xcode and the entire machine but still it keeps repeating itself.

我已经重新启动了 Xcode 和整个机器,但它仍然不断重复。

What's wrong here?

这里有什么问题?

采纳答案by developer82

My solution was to install Application Loader. At first it seemed like it's stuck as well, but after about 10 minutes it started uploading.

我的解决方案是安装 Application Loader。起初它似乎也卡住了,但大约 10 分钟后它开始上传。

回答by user1210182

This usually happens to me when the phone is connected while uploading the archive, and removing the phone so far has been solving the issue for me.

这通常发生在我上传档案时连接手机时,到目前为止,移除手机已经为我解决了这个问题。

回答by Moonwalker

I solved this issue.

我解决了这个问题。

There is a checkbox "include bitcode" at the bottom of the Summary screen (when you validate Archive) or Send XXX to Apple screen (when you upload to App Store) where the Organizer show the Binary and Entitlements together with Provisioning Profile. In XCode 7 it is checked by default. I unchecked it and re-run Validation - worked fine. As soon as checked the checkbox back on, it started failing with same error.

摘要屏幕底部(当您验证存档时)或将 XXX 发送到 Apple 屏幕(当您上传到 App Store 时)有一个复选框“包含位代码”,其中管理器显示二进制文件和权利以及配置文件。在 XCode 7 中,它默认被选中。我取消选中它并重新运行验证 - 工作正常。重新选中复选框后,它开始失败并出现相同的错误。

I have also unchecked the other checkbox on the same screen - symbolis upload.

我还取消选中同一屏幕上的另一个复选框 - 符号上传。

Successfully uploaded the binary using the Organizr just now.

刚刚使用 Organizr 成功上传了二进制文件。

回答by bora89

Here the solution that helped in Xcode 8, summary screen:

这是在 Xcode 8 中提供帮助的解决方案,摘要屏幕:

Summary screen xcode 8 fixing failed to upload

摘要屏幕 xcode 8 修复无法上传

回答by J. Doe

Still getting the same error despite "unchecking" bitcode and also archiving with the bitcode under Basic Profile turned off in the info.plist.

尽管“取消选中”bitcode 并且还在 info.plist 中关闭了 Basic Profile 下的 bitcode 进行存档,但仍然出现相同的错误。

It would only work if I used Application Loader, like this:

它只有在我使用 Application Loader 时才有效,如下所示:

First, export the application Archive from Xcode's Organizer window (it saves this into a directory on the Desktop).

首先,从 Xcode 的 Organizer 窗口导出应用程序存档(它将其保存到桌面上的目录中)。

Then, from Xcode:

然后,从 Xcode:

Xcode> Open Developer Tool> Application Loader

Xcode> Open Developer Tool>Application Loader

My guess is that there is a bug somewhere either with iTunes Connect back end or xCode itself.

我的猜测是 iTunes Connect 后端或 xCode 本身存在错误。

回答by zeeawan

A couple of Xcode restart didn't resolve the issue but Application Loadersolved it for the very first attempt. Also, Application Loader, is more descriptive for letting one know what's going on during the whole upload process. Plus simultaneous apps upload is possible via Application Loader.

几次 Xcode 重启并没有解决这个问题,但Application Loader在第一次尝试时就解决了这个问题。此外,Application Loader 更具描述性,可以让人们了解整个上传过程中发生的情况。此外,还可以通过应用程序加载器同时上传应用程序。

回答by Ahmed Lotfy

To submit to App Store use Application Loaderbut after creating the "App-Specific" password as the following:

提交到 App Store 使用Application Loader但在创建“App-Specific”密码后如下:

  1. Log in to https://appleid.apple.comand enter your 2FA (TWO-FACTOR AUTHENTICATION) code.
  2. Then in the Security section on the bottom right area, you'll see: APP-SPECIFIC PASSWORDS.
  3. Generate Password...Click the link to create an app-specific password, Enter your password.
  4. Copy the app-specific password. Enter the password into the Application Loader.
  5. Choose the exported ipato submit it.
  1. 登录https://appleid.apple.com并输入您的 2FA(双重身份验证)代码。
  2. 然后在右下区域的安全部分,您​​将看到:APP-SPECIFIC PASSWORDS
  3. Generate Password...单击链接以创建特定于应用程序的密码,输入您的密码。
  4. 复制特定于应用程序的密码。将密码输入到Application Loader.
  5. 选择导出ipa的提交。

enter image description here

在此处输入图片说明

回答by Daniel Danielecki

For developers uploading apps with Xcode: simply change network andrestart your Mac.

对于使用 Xcode 上传应用程序的开发人员:只需更改网络重新启动 Mac。

回答by Chris D. Emerson

I got this error when trying to upload an app to App Store Connect (01/20/2020). Restarting Xcode fixed the issue for me.

尝试将应用程序上传到 App Store Connect 时出现此错误 (01/20/2020)。重新启动 Xcode 为我解决了这个问题。

回答by J. Roth

I was getting the same error. Application Loader didn't work. I couldn't open any Apple Developer/Forum webpages either to find an answer there. And iTunesConnect wouldn't let me log in. I thought the site was down and I couldn't even access the Apple Status pages.

我遇到了同样的错误。应用程序加载器不起作用。我也无法打开任何 Apple 开发人员/论坛网页以在那里找到答案。iTunesConnect 不让我登录。我以为该站点已关闭,我什至无法访问 Apple 状态页面。

My VPN was connecting outside the US. After turning off the VPN everything returned to normal. I have been letting the VPN connect to random places around the globe, probably should keep it in my area.

我的 VPN 在美国境外连接。关闭VPN后一切恢复正常。我一直让 VPN 连接到全球各地的随机地点,可能应该将其保留在我所在的地区。