iOS開發(fā)問題總結(jié)

一、Cocoapods問題

1、Search for existing GitHub issues similar to yours:

? ? ? If none exists, create a ticket, with the template displayed above, on:

? ? ? Be sure to first read the contributing guide for details on how to properly submit a ticket:

? ????RuntimeError - [Xcodeproj] Unknown object version.

? ??????原因:就是xcode版本和CocoaPods 的版本不匹配 ?比如你用xcode8 你的cocoaPods 版本是1.0.1 . 就會出現(xiàn)此類問題。xcode8需要匹配cocoaPods1.1.0.

解決方法:

????????就是更新cocoaPods的版本 ,在終端執(zhí)行如下命令gem install cocoapods --pre,然后在相對應(yīng)podfile文件所在路徑下執(zhí)行pod install 即可。



二、上架問題

1、Please sign in with an app-specific password 登錄Application Loader 失敗


解決方法:

????在Apple官網(wǎng)登陸你的賬號,在管理密碼的地方有一個Generate an App-Specific Password,生成專用密碼。然后把這個密碼復(fù)制下來,在Xcode上登你的賬號就行了

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容