How to Fix Xcode Command PhaseScriptExecution failed with a nonzero exit code

The Xcode 11 “Command PhaseScriptExecution failed with a nonzero exit code” error message can be concerning for developers. This may mean that an application or script is not running properly. Some potential solutions can be attempted to troubleshoot the issue.

Solution #1

  1. Open the Xcode project folder in your Terminal app.
  2. Enter and execute the following command: pod deintegrate
  3. Execute this command: pod install
  4. Re-open Xcode > go to Product > Clean Build Folder.
  5. Run your app again.

Solution #2

  1. Head over to Keychain Access.
  2. Select Lock & unlock again from the login option.
  3. Open Xcode > Clean Xcode Project > Run your build again.

If neither of those solutions works, then it is possible to reach out to Apple for support.

Sources:

Leave a Comment

Leave a Comment

Cydia Geeks