1、Appstore中下载工具 Transporter
2、解决 Transporter 上传 App Store 时,有时会卡住或者非常慢。
https://github.com/iOSDevLog/com.apple.amp.itmstransporter 下载 Release 下面的 zip 包,或者 git clone
(或者https://download.csdn.net/download/crystal_ooo/12253048下载)
3、替换 ~/Library/Caches/com.apple.amp.itmstransporter
4、修改 /com.apple.amp.itmstransporter-20200303/obr/2.0.0/repository.xml 文件,将 file:/Users/iosdevlog/Library 中的 iosdevlog,改为自己的用户名
5、终端运行命令
/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter
ps:如果有报错信息 https://...jar,把 jar 文件下载下来,放入 ~/Library/Caches/com.apple.amp.itmstransporter/obr/2.2.0/
再次运行/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter
最后出现:
[2020-03-17 13:17:26 CST] <main> DBG-X: Returning 0
即为成功。