问题
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?
The documentation does not mention anything about that. https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf
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]
Best regards
Peter
回答1:
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
Or, directly append it as altool command line arguments like following:
altool --upload-app -f file -u username [-p password] -ITunesTransport DAV
It is working with Xcode 10 in our firewall.
来源:https://stackoverflow.com/questions/38053368/upload-ios-app-to-appstore-using-port-443