Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code

前端 未结 25 971
醉梦人生
醉梦人生 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:51

    If you are doing Unity Project. You can get this error.

    Command PhaseScriptExecution failed with a nonzero exit code
    

    The solution is very simple

    https://forum.unity.com/threads/error-on-build.561706/

    Pre-requisites: Have cocoapods installed

    1. Install "cocoapods" for installing run following line in your terminal: $sudo gem install cocoapods
    2. Open your project folder using terminal
    3. Run this line: chmod +x MapFileParser.sh
    4. Run this line: chmod +x process_symbols.sh

    It worked for me)

    I think that installing "cocoapods" is not necessary, only step 3 and 4 enough to solve, but it does not work, you can try it.

提交回复
热议问题