使用端口443将iOS App上载到AppStore [英] Upload iOS App to AppStore using port 443
问题描述
我正在尝试使用altool从命令行上传我们的应用程序.由于我们的防火墙阻止了某些端口,因此我想在端口443上使用HTTPS以"DAV"模式传输文件.如果使用ApplicationLoader GUI手动进行操作,则可以为此设置一个参数.有人知道altool的正确参数吗?
I am trying to upload our apps from command line using altool. Since our firewall blocks some ports, I want to transfer the files in "DAV" mode using HTTPS on port 443. If I do that manually using ApplicationLoader GUI, I can set a parameter for that. Does anybody know the correct parameters for altool?
文档未提及任何内容. https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf
The documentation does not mention anything about that. https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf
当前我正在使用以下命令(该命令不起作用,因为altool无法在默认端口上访问Apple服务器):
Currently I am using the following command (which does not work, because altool can't access the Apple server on the default port):
altool --upload-app -f file -u username [-p password]
最诚挚的问候
彼得
推荐答案
到目前为止,这似乎是非正式的方式,我们可以通过为Altool设置UserDefaults键ITunesTransport
在DAV中进行传输,如下所示:
This seems to be unofficial way as of today, we are able to transfer in DAV with setting UserDefaults key ITunesTransport
for altool like following:
defaults write com.apple.itunes.altool ITunesTransport DAV
或者,将其直接附加为altool命令行参数,如下所示:
Or, directly append it as altool command line arguments like following:
altool --upload-app -f file -u username [-p password] -ITunesTransport DAV
它与我们防火墙中的Xcode 10一起使用.
It is working with Xcode 10 in our firewall.
这篇关于使用端口443将iOS App上载到AppStore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!