tips:
Xcode11之后,該方法已經(jīng)不能用了,請(qǐng)移步到新方法《解決Xcode11上傳App Store一直卡住的問(wèn)題》
以前是authenticating with the iTunes store;現(xiàn)在變成了authenticating with the App Store
- iTunes Store Operation Failed
- An error occurred uploading to the iTunes Store
- authenticating with the itunes store
如圖

Authenticating with the iTunes Store.png
- 停在上圖一段那時(shí)間后,出現(xiàn)下圖:

082.png
第一:
有可能是中文編碼的問(wèn)題,需要把編譯的文件包名改成英文的,然后在壓縮提交;
第二:
你的電腦java包長(zhǎng)時(shí)間未更新,
第三:
應(yīng)該是java的安全問(wèn)題沖突,需要在終端里執(zhí)行一段命令,中間可能需要輸入密碼
終端執(zhí)行四條命令完美解決
1 cd ~
2 mv .itmstransporter/ .old_itmstransporter/ 備份原文件.itmstransporter/到.old_itmstransporter/
3 rm -rf .itmstransporter/ 刪除原有文件夾,不刪除的話ITMSTransporter的更新可能會(huì)卡住
4 "/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
啟用iTMSTransporter自動(dòng)更新程序,不同Mac系統(tǒng)版本ITMSTransporter文件目錄可能不同,本文系統(tǒng)是10.13.3
注意:
一定要等第四條命令執(zhí)行完畢才可以哦!
補(bǔ)充:有些時(shí)候第四條命令無(wú)法執(zhí)行完畢:
也就是說(shuō) ——iTMSTransporter不能自動(dòng)更新運(yùn)行完成,如果不能打開(kāi)iTMSTransporter,就根據(jù)這個(gè)目錄在Finder里找到iTMSTransporter,手動(dòng)打開(kāi)
//手動(dòng)打開(kāi)方法
進(jìn)入“應(yīng)用程序”—》右鍵Xcode—》顯示包內(nèi)容—》Contents-》Applications-》

application loader1.png
然后 [右鍵 Application loader]—》顯示包內(nèi)容—》Contents-》itms-》lib-》iTMSTransporter
【雙擊 iTMSTransporter 】

application loader.png

application loader1.png