問題描述
升級了macOS Sierra (10.12) 和XCode8以后戈毒,使用Application Loader上傳IPA到App Store時報了個奇怪的錯誤:
調(diào)查
上Google搜了一下錯誤碼,發(fā)現(xiàn)有很多相關(guān)討論胶滋,比如StackOverFlow上:
http://stackoverflow.com/questions/37838487/error-itms-90167-no-app-bundles-found-in-the-package
After chatting with folks at WWDC in both the Xcode lab and the App Store lab, they were able to dig up information that this is a known issue in the current Sierra seed that is fixed in the next release.
這是7月份的討論律杠,結(jié)論是黎侈,這個錯誤是macOS Sierra Beta的問題栗精,但是刽锤,我裝的Sierra是正式版啊沿彭。
繼續(xù)找最新的討論朽砰,在Xamarin 的論壇上,有人在最近也遇到了類似問題:
https://forums.xamarin.com/discussion/69132/cant-upload-ipa-file-error-itms-90167-no-app-bundles-found-in-the-package
September 21
is there anything new about this? I have macOS Sierra (release) and current Xamarin Studio/Framework running, but Application Loader gives me this error...
然后喉刘,又馬上回復(fù)了解決方法:安裝Xcode 8
Sorry - Install of Xcode 8 solved the issue - my App Store was doing strange Stuff - ignore my postings
但是瞧柔,我裝的就是XCode 8 啊。
還好睦裳,還有人也回復(fù)了另一個方法:用新版的Application Loader
If any one still have an issue, here is my findnings. For me it was an issue with older version of application loader. I tried using 3.6 version of application loader on mac seirra and that works fine.
問題定位
原來升級macOS Sierra(10.12) 后造锅,Application Loader并沒有自己升級,而且升級了XCode8以后廉邑,舊的Application Loader也沒有被替換哥蔚,還是3.0
解決方法
1. 使用XCode 8 自帶的Application Loader (3.6)≈朊桑【已驗證】
啟動方法是 XCode菜單 -> Open Developer Tool -> Application Loader
Application Loader的版本是 3.6
2. 用Xcode 8直接上傳糙箍,應(yīng)該也是可以的。不過宇驾,由于通過Xcode上傳經(jīng)常出現(xiàn)網(wǎng)絡(luò)錯誤倍靡,所以我已經(jīng)放棄這個方法了】紊幔【已驗證XCode8版本沒問題塌西,未驗證XCode之前版是否有問題】