Forum Bugs

macOS Catalina: "prince" cannot be opened because the developer cannot be verified.

mattt
When attempting to open the `prince` executable on macOS Catalina, the operation fails with the following system alert by Gatekeeper:

> # "prince" cannot be opened because the developer cannot be verified.
> macOS cannot verify that this app is free from malware.

In order to run the command line utility, you need to open the Security and Privacy preference pane in System Preferences, select the General tab, and click "Allow Anyway".

Alternatively, you can run the following commands from Terminal to first remove any quarantine attribute applied by Safari when downloading `prince`, and then manually add a SecAssessment system policy label to the executable:

```
$ xattr -d -r com.apple.quarantine /usr/local/bin/prince
$ spctl --add --label "Approved" /usr/local/bin/prince
```

Doing this will change the system alert to a system prompt to confirm running the executable.

To avoid these workarounds, the developers of Prince should provide a new release that's notarized with Apple. For more information, see: https://developer.apple.com/news/?id=09032019a
mikeday
Thanks, we will take a look at this.
mjmj
I ran into this also. I believe it would deter a large percentage of Mac users. Until it's fixed I would suggest linking from the documentation to this thread, or copying the workaround instructions into the installation instructions.