xcode10的時候上傳包都是使用xcode或者Application Loader的献汗。
升級到xcode11.3之后,使用xcode上傳包出現(xiàn)了卡在authentication with the app store的問題响巢。
嘗試過官方推薦的atool,和transporter棒妨,都沒用抵乓,還是一直卡著。
查閱資料發(fā)現(xiàn),無論是使用Application Loader灾炭,atool茎芋,transporter還是最新的xcode都是使用java的iTMSTransporter來完成上傳api包的工作。
一般出現(xiàn)authentication with the app store的問題是由于你的iTMSTransporter緩存被破壞了蜈出,或者根本不存在田弥,直接調(diào)用iTMSTransporter與功能參數(shù),如-upload-app铡原,iTMSTransporter不警告你偷厦,也不修復緩存本身,它只是卡在那里燕刻,什么都不說!所以解決方案就是清除iTMSTransporter緩存只泼。但xcode10和xcode11緩存目錄是不一樣的。
針對xcode10的解決方案如下:
cd ~?
mv .itmstransporter/ .old_itmstransporter/? ??
對舊緩存做個備份
"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
針對xcode11的解決方案如下:
/Users/用戶名/Library/Caches/com.apple.amp.itmstransporter/
刪除這個緩存文件夾卵洗,重啟xcode upload请唱,xcode會在authentication with the app store 重新去生成com.apple.amp.itmstransporter并下載相關(guān)文件。
搞定过蹂。