ProtonVPN / mac-app

Superseded by https://github.com/ProtonVPN/ios-mac-app
https://protonvpn.com/download-macos
GNU General Public License v3.0
233 stars 54 forks source link

Build failed: Command PhaseScriptExecution failed with a nonzero exit code #2

Open sanderdekoning opened 4 years ago

sanderdekoning commented 4 years ago

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?

Screenshot 2020-03-07 at 11 43 20
Drvolks commented 4 years ago

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"