使用端口 443 将 iOS 应用上传到 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 应用上传到 AppStore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!