Xcode 10 Command PhaseScriptExecution failed with a nonzero exit code (EXPANDED_CODE_SIGN_IDENTITY: unbound variable)
问题 This error pops up when doing Project > Test /Users/.../Project/Pods/Target Support Files/Pods-Target/Pods-TargetTests-frameworks.sh: line 104: EXPANDED_CODE_SIGN_IDENTITY: unbound variable Command PhaseScriptExecution failed with a nonzero exit code How do I resolve "Command PhaseScriptExecution failed with a nonzero exit code" error when trying to test a project with cocoapods? 回答1: This helped me sudo gem install cocoapods --pre pod update I've read BugReport. Problem was similar to mine