Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code

前端 未结 25 988
醉梦人生
醉梦人生 2020-11-28 08:20
Showing Recent Messages:-1: mkdir -p /Users/spritzindia/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator         


        
25条回答
  •  眼角桃花
    2020-11-28 08:59

    I had a similar error

    /{path to project root}/Pods/Target Support Files/Pods-{project name}/Pods-{project name}-frameworks.sh: Permission denied
    Command PhaseScriptExecution failed with a nonzero exit code
    

    In my case I had received a zip of a repo that included the Pods folder. It turns out that at some point between it being originally created and sent to me, the *.sh files in Pods/Target Support Files/Pods-{PROJECT}/ had all lost their execute permissions. Giving those files +x was the solution

提交回复
热议问题