Xcode 10.2.1 Command Phasescriptexecution Failed With a Nonzero Exit Code

Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code

After trying all the solutions, I was missing is to enable this option in:

Targets -> Build Phases -> Embedded pods frameworks

In newer versions it may be listed as:

Targets -> Build Phases -> Bundle React Native code and images

  • Run script only when installing

Build Phases

command phasescriptexecution failed with a nonzero exit code ios during archive

I think if you are using some third-party libraries make sure that all is configured perfectly.
Add dependencies in header search paths.

Command PhaseScriptExecution failed with a nonzero exit code Xcode 11.3.1

This may happen when you click "Deny" on Keychain access dialog, after this, you can make Workaround1 and then try to restart your Mac.
Also not forget to use the latest version of swiftlint and pods, make pod update SwiftLint. After the restart, you can try to make:

$ sudo gem install cocoapods-deintegrate cocoapods-clean
$ pod deintegrate
$ pod clean

how to solve this error Command PhaseScriptExecution failed with a nonzero exit code

Add "arm64" in "Excluded Architectures" in build settings of both project and pods project, to run the app in simulator. Remove it while making build on device or archiving the app.

Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code

After trying all the solutions, I was missing is to enable this option in:

Targets -> Build Phases -> Embedded pods frameworks

In newer versions it may be listed as:

Targets -> Build Phases -> Bundle React Native code and images

  • Run script only when installing

Build Phases



Related Topics



Leave a reply



Submit