mac-app
mac-app copied to clipboard
Build failed: Command PhaseScriptExecution failed with a nonzero exit code
When following the build instructions Xcode fails to build with the following error Command PhaseScriptExecution failed with a nonzero exit code. How can I resolve this issue?
I had a similar issue. Turns out my dev identifier has a dash in it failed the regex validation in CodeSignUpdate.sh
https://github.com/ProtonVPN/mac-app/blob/3e97acf31c3f05eb6fa2dea723c075d3c2e149a4/Scripts/CodeSignUpdate.sh#L72
If this is relevant to you, either edit the validation or comment the "exit 1"