iOS Xcode版本14.2 編譯成功 打包報error build: Command PhaseScriptExecution failed with a nonzero exit code
上面是我打包報錯的詳細信息,我發(fā)現(xiàn)報錯的主要是高德地圖的三方庫,我就刪除了報錯的三方庫,同時刪除 pods文件夾 和 .lock文件 重新pod install
之后三方庫不再報錯,只報錯error build: Command PhaseScriptExecution failed with a nonzero exit code
本來以為離成功更近一步,沒想到解決這個錯誤折騰了好久
解決方法:
試過了網(wǎng)上的相關(guān)解決方法:
1.Build settings -> Excluded Architectures
Delete "arm64“
2.清內(nèi)存并且clear
3.刪除User Header search Pacths里的所有內(nèi)容
4.重啟電腦
都沒有成功
最終的解決方法是我刪掉了腳本shell配置,成功打包
希望能幫助到遇到相同問題的童鞋,加油,祝好運??文章來源:http://www.zghlxwxcb.cn/news/detail-441947.html
解決問題的參考文檔地址:
https://www.jianshu.com/p/3cae17a41734
https://www.it1352.com/923036.html文章來源地址http://www.zghlxwxcb.cn/news/detail-441947.html
到了這里,關(guān)于iOS Xcode版本14.2 編譯成功 打包報error build: Command PhaseScriptExecution failed with a nonzero exit code的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!