升級(jí)xcode 后flutter項(xiàng)目構(gòu)建失敗
起因:
升級(jí)Xcode 到新的14.3.1版本
錯(cuò)誤:
showing recent issues command phasescriptexecution failed with a nonzero exit code
這個(gè)錯(cuò)誤很多情況下都會(huì)出現(xiàn),所以參考價(jià)值較低。
解決:
嘗試以前的常規(guī)操作,flutter clean ; flutter pub get 命令清理項(xiàng)目緩存,
然后配合pod install,都無法解決,開啟Google模式。
居然在react-native 的項(xiàng)目的issues里找到了
Command PhaseScriptExecution failed with a nonzero exit code - Error when Archive on Xcode 14.3 · Issue #36762 · facebook/react-native · GitHub
大家自己看吧,點(diǎn)贊最多的那個(gè)就是了。
文章來源:http://www.zghlxwxcb.cn/news/detail-522596.html
開發(fā)中的非代碼問題記錄下吧,希望對(duì)你有幫助。文章來源地址http://www.zghlxwxcb.cn/news/detail-522596.html
到了這里,關(guān)于Xcode 14打包flutter 的項(xiàng)目構(gòu)建失敗的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!