xcode unbound variable Command PhaseScriptExecution failed with a nonzero exit code 错误解决

Delete the Pods directory and the Podfile.lock file.
Run pod install to re-create them from scratch.
Clean the Xcode project.
Build the Xcode project.

原文地址:https://www.cnblogs.com/leqoqo/p/unbound_variable_Command_PhaseScriptExecution_failed_with_a_nonzero_exit_code.html