xcode App Store 提交/分发错误“无法打开 ssh 会话”

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

App Store submission/distribution error "failed to open ssh session"

iosxcodecordovaapp-store

提问by James Finn

I'm trying to submit an iOS PhoneGap app to the app store via Xcode 5.0.2 but I'm encountering problems at the final distribution stage. The app works perfectly on the simulators and devices that I've used and even passes the validation yet when I go to distribute it a number of errors pop up and the project's status is listed as "Failed Validation".

我正在尝试通过 Xcode 5.0.2 将 iOS PhoneGap 应用程序提交到应用程序商店,但在最终分发阶段遇到了问题。该应用程序在我使用过的模拟器和设备上完美运行,甚至通过了验证,但当我分发它时,会弹出许多错误,并且项目的状态被列为“验证失败”。

enter image description here

在此处输入图片说明

I've had no luck searching for these errors on-line and I don't understand how it passes validation when I click validate but somehow fails it when I go to distribute.

我没有运气在线搜索这些错误,我不明白当我点击验证时它是如何通过验证的,但在我去分发时却以某种方式失败了。

I see other Xcode submission problems are linked to Apple server trafficbut I'm not getting any "network connection lost" errors.

我看到其他 Xcode 提交问题与Apple 服务器流量有关,但我没有收到任何“网络连接丢失”错误。

I've seen some issues requiring a Java update for Xcode but they seemed to effect Xcode 4 and I'm using Xcode 5.

我已经看到一些需要为 Xcode 更新 Java 的问题,但它们似乎影响了 Xcode 4,而我正在使用 Xcode 5。

EDIT: I forgot to mention that I'm using an iMac on a University network.

编辑:我忘了提到我在大学网络上使用 iMac。

回答by kernix

After having the same issue I've been able to fix this issue.

在遇到同样的问题后,我已经能够解决这个问题。

To solve this issue you need to:

要解决此问题,您需要:

Go to page 6 "System and Network Requirements" from https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf

https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf转到第 6 页“系统和网络要求”

verify that all of the ports and IP addresses are accessible.

验证所有端口和 IP 地址是否均可访问。

After opening all of the ports from the table, I'm now able to upload my apps.

打开表中的所有端口后,我现在可以上传我的应用程序。

Enjoy!

享受!

回答by James Finn

The problem was that I was using a university network which has a number of restrictions on servers as well as uploading and downloading. The only fix for this problem was to find another Mac to use which wasn't restricted.

问题是我使用的是大学网络,该网络对服务器以及上传和下载有许多限制。解决此问题的唯一方法是找到另一台不受限制的 Mac 使用。

回答by Edwin

A possible solution is to do what @kernix suggests, make sure your bitching corporate firewall isn't trying to mug you off. Are your ports open?

一个可能的解决方案是按照@kernix 的建议去做,确保你的公司防火墙没有试图让你失望。你的端口打开了吗?

Another solution is to user Application Loader instead.

另一种解决方案是改为使用 Application Loader。

Open Application Loader, got to preferences (?+,) and unselect Signiant and Aspera, but leave DAV selected.

打开 Application Loader,进入首选项 (?+,) 并取消选择 Signiant 和 Aspera,但保留选中 DAV。

Application loader preference

应用程序加载器首选项