国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

IOS編譯出現(xiàn)Command PhaseScriptExecution failed with a nonzero exit code

這篇具有很好參考價值的文章主要介紹了IOS編譯出現(xiàn)Command PhaseScriptExecution failed with a nonzero exit code。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

出現(xiàn)場景

Github上下載了一個用SwiftUI開發(fā)的仿微信Demo.用Xcode15運行報以下錯誤.

Command PhaseScriptExecution failed with a nonzero exit code

IOS編譯出現(xiàn)Command PhaseScriptExecution failed with a nonzero exit code,xcode,ios,ios,xcode

解決方案

首先我們得找到具體的錯誤,這報錯太抽象啦.
那我們要在哪里看到具體的報錯信息呢?
通過在Stackoverflow上搜索發(fā)現(xiàn),點擊導(dǎo)航欄最右邊的圖標(biāo)
IOS編譯出現(xiàn)Command PhaseScriptExecution failed with a nonzero exit code,xcode,ios,ios,xcode
選中最近的build,在右邊就能看到具體詳細(xì)的編譯錯誤信息了。
IOS編譯出現(xiàn)Command PhaseScriptExecution failed with a nonzero exit code,xcode,ios,ios,xcode
然后我們就可以通過詳細(xì)的編譯報錯來找對應(yīng)的解決方案,我這里的錯誤是因為三方庫的配置才導(dǎo)致的,我修改了Build Phases中的Run Script,重新編譯就正常了。文章來源地址http://www.zghlxwxcb.cn/news/detail-821659.html

到了這里,關(guān)于IOS編譯出現(xiàn)Command PhaseScriptExecution failed with a nonzero exit code的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • 解決XCode錯誤:Command PhaseScriptExecution failed with a nonzero exit code

    解決XCode錯誤:Command PhaseScriptExecution failed with a nonzero exit code

    XCode版本:14.3 使用模擬器或真機調(diào)試、編譯等都不出錯,唯獨在進行Archive時,會出現(xiàn)以下錯誤: 出錯時的XCode截圖如下: 展開XCode左側(cè)的項目結(jié)構(gòu)目錄,逐級展開“Pods” - “Target Support Files” - \\\"Pods-項目名稱\\\",打開其中的“Pods-項目名稱-frameworks.sh”文件: 在該文件中,找

    2024年02月11日
    瀏覽(20)
  • Xcode打包報錯 Command PhaseScriptExecution failed with a nonzero exit code

    iOS發(fā)布,xcode13不能用了需要升級,不得已換了新電腦,安裝最新Xcode打包發(fā)布,版本15.0.1。 遇到的問題,一打包就報錯: Command PhaseScriptExecution failed with a nonzero exit code,網(wǎng)上有兩種解決方法。 1:菜單欄選擇File - Workspace Setting - Build System 選擇Legacy Build System 重新運行即可。

    2024年02月02日
    瀏覽(33)
  • Xcode打包遇到的坑 Command PhaseScriptExecution failed with a nonzero exit code

    Xcode打包遇到的坑 Command PhaseScriptExecution failed with a nonzero exit code

    這個問題看網(wǎng)上的解決方法多為更改構(gòu)建方式。 這其實是一個Xcode10引起的bug。 解決方案: 在Xcode菜單欄選擇File - Workspace Setting - Build System 選擇Legacy Build System 重新運行即可。 但是這里注意一下,我用最新的Xcode 14.2的版本并沒有換構(gòu)建方式的選項了,我改為13.4.1的版本后就

    2024年02月11日
    瀏覽(34)
  • Xcode14.3 升級后報錯 Command PhaseScriptExecution failed with a nonzero exit code

    Xcode14.3 升級后報錯 Command PhaseScriptExecution failed with a nonzero exit code

    xcode升級到14.3運行和打包都報錯:Command PhaseScriptExecution failed with a nonzero exit code 注意: 1.不要嘗試去刪除 DerivedData 下的文件解決問題,這只能是自己挖新坑 2.xcode14.3無論是swift項目還是oc項目,pod都有問題,修復(fù)方法見文末 3.報錯如下: 2.1 pod問題 不要嘗試去重新安裝cocoap

    2023年04月26日
    瀏覽(28)
  • 升級Xcode 14.3項目報錯PhaseScriptExecution failed with a nonzero exit code

    升級Xcode 14.3項目報錯PhaseScriptExecution failed with a nonzero exit code

    經(jīng)過各種折騰之后,發(fā)現(xiàn)是CocoaPods的問題,解決方案如下: 全局搜索 將其替換為

    2024年02月04日
    瀏覽(25)
  • [VoteNet]報錯出現(xiàn)錯誤“subprocess.CalledProcessError: Command ‘[‘ninja‘, ‘-v‘]‘ returned nonzero exit state

    嘗試運行votenet baseline 服務(wù)器環(huán)境: NVIDIA RTX3090 Pytorch 1.8.1 CUDA11.1 在run demo的時候嘗試對pointnet2的一眾cpp文件進行編譯,運行python setup.py install時出現(xiàn)報錯,報錯信息為‘ubprocess.CalledProcessError: Command ‘[‘ninja‘, ‘-v‘]‘ returned nonzero exit state 1’ pytorch版本和源代碼所使用的

    2024年02月13日
    瀏覽(21)
  • 解決:mac brew install xx 出現(xiàn) fatal: not in a git directory Error: Command failed with exit 128: git

    解決:mac brew install xx 出現(xiàn) fatal: not in a git directory Error: Command failed with exit 128: git

    wshanshi:這是一個簡單的問題總結(jié)記錄… 一、異常信息 使用brew install 時發(fā)現(xiàn)報了一個錯:fatal: not in a git directory Error: Command failed with exit 128: git,如下圖所示。 二、解決方法 brew -v 可查看提示,To add an exception for this directory。提示添加安全目錄(–add safe.directory) 執(zhí)行上述提

    2024年02月14日
    瀏覽(27)
  • 報錯Command failed with exit 128:git

    報錯Command failed with exit 128:git

    問題: 記錄一個問題,原因是今天使用Mac上面的Brew安裝一個Redis發(fā)生了錯誤,我也是頭一次使用Brew。 理論上來說使用brew安裝出現(xiàn)這種Error都是可以解決的! 具體如圖所示,執(zhí)行brew install redis報錯Command failed with exit 128:git 解決方式: 輸入brew -v后會提示你執(zhí)行兩個配置命令,

    2024年02月11日
    瀏覽(55)
  • mac安裝lrzsz出錯Command failed with exit 128: git

    終端檢查電腦是否安裝了rz和sz 若報錯,則需要下載。由于網(wǎng)絡(luò)和代理的原因,以下命令會報錯: 是因為brew和git配置的代理存在沖突,對于無外網(wǎng)鏈接功能,無特殊配置的git而言,需要安裝國內(nèi)鏡像源,對于有特殊配置的而言,要下載安裝原始的brew,具體安裝卸載教程詳見

    2024年02月12日
    瀏覽(20)
  • Mac M1 Brew install 報錯Command failed with exit 128:git

    Mac M1 Brew install 報錯Command failed with exit 128:git

    問題: 記錄一個問題,原因是今天使用Mac上面的Brew安裝一個Redis發(fā)生了錯誤,我也是頭一次使用Brew。 理論上來說使用brew安裝出現(xiàn)這種Error都是可以解決的! 具體如圖所示,執(zhí)行 brew install redis 報錯Command failed with exit 128:git 解決方式: 輸入 brew -v 后會提示你執(zhí)行兩個配置命令

    2024年02月12日
    瀏覽(19)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包