"Authenticating with the iTunes store” 或 “正在通过 iTunes Store进行鉴定”的完美解决办法

06/20/2019 23:08 下午 posted in  Xcode

用 Xcode 提交 app 到 iTunes store 时总是卡死在 “Authenticating with the iTunes store”。改DNS、用VPN都不行,全局、自动代理模式全都试过了。
网上找解决办法,有很多人推荐使用“Application Loader”上传:
但是使用 Application Loader 提交时又卡死在 “正在通过 iTunes Store进行鉴定” 。

$ cd ~    #进入用户根目录
$ mv .itmstransporter/ .old_itmstransporter/    #将名为itmstransporter的隐藏文件重命名为old_itmstransporter
$ /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter     #运行Application Loader.app包里的iTMSTransporter程序

当3条命令都执行完成后再用,Xcode 或 Application Loader上传。