Search code examples
flutterxcode14

Xcode 14: Command PhaseScriptExecution failed with a nonzero exit code


After updating my Xcode to the version 14.0, I am getting this error:

Command PhaseScriptExecution failed with a nonzero exit code

If anyone knows how to resolve it, please let me know.

screenshot of Xcode


Solution

  • Click properties on the project, go to build phases and check the option "For install builds only"

    enter image description here