Can you tell more about Command PhaseScriptExecution ?
Is it your own code ?
Or an external lib ? If so, it may be an incompatible version. Did you check ?
It seems like you have a Build Run Script in your Build Phases that is failing. You might want to look at the build logs to see what is happening.
I usually have this problem when a dependency is not updated.
You can try following these steps, this usually works for me:
1- Delete your Podfile.lock (I like to use the command '-rm -rf Podfile.lock' on the terminal for this)
2- Delete your Pods folder (I like to use the command '-rm -rf Pods' in the terminal for this)
3- Delete your .xcworkspace
4- Pod install
5- Clear your project into XCode> Product> Clean Build Folder
How to fix this?
This totally worked for me!
Xcode 13.3 beta
I also facing the same issue but I am trying to follow the way, my error is fixed once try this.
Go to Keychain Access in your MAC
Right-click on login->
Lock & unlock again->
Clean Xcode project->
Make build again