Skip to content

Instantly share code, notes, and snippets.

@noelruault
Created September 29, 2022 09:03
Show Gist options
  • Save noelruault/6d67933c95127b592c44eaee25dfc7e9 to your computer and use it in GitHub Desktop.
Save noelruault/6d67933c95127b592c44eaee25dfc7e9 to your computer and use it in GitHub Desktop.
Resolve MacOS "cannot be opened because the developer cannot be verified" error
  1. Run the binary. You should see Killed: 9 as output in the terminal.
  2. Once the error happens, open the "Security & Privacy" control panel from System Preferences.
  3. The Security & Privacy panel, General tab is updated with the info that the binary was prevented from running. Click Allow Anyway.
  4. Run the binary again. This time a different prompt is shown. Click Open - the binary should run as you expect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment