方法一
其实就是因为iTMS Transporter第一次启动时需要去google下载一些东西,所以卡死。
使用浏览器代理,让它下载完后就能正常使用了。
具体方法:开代理后,控制台运行:
/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter
多等一会 会显示一些文件下载成功。
等执行完了,就可以正常使用了。不用代理也可以了
方法二(没有代理)
关闭上传,并打开命令行,依次调用这三行代码:
cd ~
mv .itmstransporter/ .old_itmstransporter/
"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
先说结论,此方法有效,但是对于Xcode11来说Application Loader已经移除了,那么路径就要改变到Transporter下,所以需要修改最后一个命令。为什么有效呢,因为本质上iTMSTransporter是所有上传工具真正使用的可执行文件。所以Transporter下也会发现这个文件。
1.首先找到文件位置,反键显示包内容。
image
2.将iTMSTransporter的路径找到
image
3.执行以下命令
cd ~
mv .itmstransporter/ .old_itmstransporter/
"/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter"