Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code

前端 未结 25 1049
醉梦人生
醉梦人生 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 09:03

    For me, the issue was with the node version that xcode was using. My project was building fine in Expo but not in Xcode after ejecting. I found my answer here: https://github.com/expo/expo/issues/8488

    • check you have the latest version of node

      $ node --version

    • delete the version in /usr/local/bin/

      $ rm /usr/local/bin/node

    • re add a sym link

      $ ln -s $(which node) /usr/local/bin/node

提交回复
热议问题