解决上传App Store一直卡住的问题

转载自:
https://www.maaiting.com/2020/03/03/Authenticating%20with%20the%20App%20Store/
原作者:MaKe

更新Xcode11之后,上传App Store部分同学会遇到在Uploading界面的Authenticating with the App Store…卡住一整天都不会动,然后不管是Google还是百度都会告诉你这样去解决:

第一步:cd ~

第二步:mv .itmstransporter/ .old_itmstransporter/

第三步:"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"

等待执行完成就好

然而在Xcode11版本之后这个方法并不管用,原因是苹果删除了xcode中自带的Application Loader.app,然后我们在更新Xcode11过程中transporter因为某种原因损坏,所以在上传的时候会一直卡在Authenticating with the App Store...

解决方案:

step1: 打开终端输入
open ~/Library/Caches/com.apple.amp.itmstransporter/

step2: 删除文件夹📂内的所有文件

step3: 在终端输入 (亲测在这里打开VPN会快很多,下载内容大概60M+)
/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter

step4: 下载完了后重启Xcode

如果在Xcode使用了shift+command+k清除缓存后,需要重新运行step1-step4

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。