Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Disabling Gatekeeper in macOS Catalina (10.15.1)

Writer Emily Wong

I am trying to run some command line tools, and every time it calls a new dependency I get the popup "X cannot be opened because the developer cannot be verified." Obviously, if I open system preferences, I can click on "open anyway", but this is an incredibly onerous process for the tools I'm using.

I found the following supposed workaround:

sudo spctl --master-disable

This enables a radio button labelled "Anywhere" under "Allow apps downloaded from", but it doesn't seem to actually have any effect on the screening of the command line tools. I still get the popups, and in fact, if I close system preferences and reopen it, the "Anywhere" radio button has disappeared.

Any recommendations would be greatly appreciated.

8

1 Answer

I had the same problem on Catalina 10.15.7. sudo spctl --master-disable did not remove the popups, even though the status says assessments disabled.

What did work was additionally running csrutil disable in recovery mode. ()

This will completely disable SIP, so use your own judgement.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy