在代理后面使用 XCode 提交应用程序

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

App submission with XCode behind proxy

xcodeproxy

提问by Daniel Brown

I get this message when I try to submit an app from behind our company proxy.

当我尝试从我们公司代理的后面提交应用程序时,我收到此消息。

Could not start delivery: all transports failed diagnostics.

无法开始传送:所有传输失败的诊断。

When connected directly to the outbound router, the upload works.

当直接连接到出站路由器时,上传工作。

Anyone got an idea, why? Is Xcode not using the system proxy settings?

任何人都有想法,为什么?Xcode 没有使用系统代理设置吗?

采纳答案by Daniel Brown

Hmm, after adding the second line to my .bash_profile it worked:

嗯,将第二行添加到我的 .bash_profile 后,它起作用了:

#this was already there
export http_proxy="192.168.0.99:8080"
#this line added made it work
export https_proxy="192.168.0.99:8080"

Activating the proxy in network settings did notwork, very strange..

在网络设置中激活代理没有用,很奇怪..