問題描述
用 Xcode
提交 app 到 iTunes store 時總是卡死在 “Authenticating with the iTunes store”
褪尝。改DNS亏推、用VPN都不行,全局叁巨、自動代理模式全都試過了斑匪。
網(wǎng)上找解決辦法,有很多人推薦使用“Application Loader”
上傳:
但是使用 Application Loader
提交時又卡死在 “正在通過 iTunes Store進(jìn)行鑒定”
锋勺。
好吧蚀瘸,徹底無語!J鳌贮勃!
解決辦法
不管怎么樣 app 總得上傳吧!繼續(xù)上網(wǎng)尋求辦法苏章,終于皇天不負(fù)苦心人寂嘉,在 蘋果開發(fā)者論壇 里讓我給淘著了。這個辦法非常perfect...??????
好了簡單介紹下這個方法枫绅。
打開終端并運(yùn)行以下命令:
$ cd ~ #進(jìn)入用戶根目錄
$ mv .itmstransporter/ .old_itmstransporter/ #將名為itmstransporter的隱藏文件重命名為old_itmstransporter
$ /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter #運(yùn)行Application Loader.app包里的iTMSTransporter程序
當(dāng)3條命令都執(zhí)行完成后再用泉孩,Xcode
或 Application Loader
上傳。
補(bǔ)充
注意當(dāng)?shù)谌龡l命令里的所有請求都返回 ... updated bundle successfully retrieved.
才算成功并淋,效果如下:
leodeMBP:~ leo$ cd ~
leodeMBP:~ leo$ mv .itmstransporter/ .old_itmstransporter/
leodeMBP:~ leo$ /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter
[2017-06-20 00:37:16 CST] <main> INFO: Transporter is searching for updated software components.
[2017-06-20 00:38:03 CST] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.asperasupport...
[2017-06-20 00:38:23 CST] <main> DEBUG: ... updated bundle successfully retrieved.
......
......
......
[2017-06-20 00:40:25 CST] <main> DEBUG: Analyzing remote bundle resource slf4j.log4j12...
[2017-06-20 00:40:25 CST] <main> DEBUG: ... updated bundle successfully retrieved.
[2017-06-20 00:40:25 CST] <main> INFO: Transporter has been successfully updated. The updated components will be available the next time Transporter runs.
......
......
......
leodeMBP:~ leo$
如果有些請求返回 Unable to download a software component
或 ... update attempt failed, aborting.
這種錯誤寓搬。你可以檢查下是否有開啟VPN,如果有開啟先關(guān)閉VPN再試下县耽。
lipengdeMBP:~ lipeng$ cd ~
lipengdeMBP:~ lipeng$ mv .itmstransporter/ .old_itmstransporter/
lipengdeMBP:~ lipeng$ /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter
[2017-06-20 00:27:02 CST] <main> INFO: Transporter is searching for updated software components.
[2017-06-20 00:27:13 CST] <main> DEBUG: ... updated bundle successfully retrieved.
[2017-06-20 00:28:16 CST] <main> DEBUG: Analyzing remote bundle resource com.apple.its.epubcheck-runner...
[2017-06-20 00:30:05 CST] <main> INFO: Unable to download a software component
......
......
......
[2017-06-20 00:30:05 CST] <main> DEBUG: ... update attempt failed, attempting retry.
[2017-06-20 00:30:05 CST] <main> INFO: Unable to download a software component
......
......
......
[2017-06-20 00:30:05 CST] <main> DEBUG: ... update attempt failed, aborting.
[2017-06-20 00:30:05 CST] <main> INFO: One or more software components could not be updated. This may cause reduced functionality. Please download and use the latest Transporter installer from iTunes Connect.
......
......
......
leodeMBP:~ leo$