Skip to content

Instantly share code, notes, and snippets.

@rampfox
Created January 4, 2020 08:30
Show Gist options
  • Save rampfox/61b3a6711744d8536103bf2afd455f6e to your computer and use it in GitHub Desktop.
Save rampfox/61b3a6711744d8536103bf2afd455f6e to your computer and use it in GitHub Desktop.
Fix damaged app message on macOS sierra or later

Fix damaged app message on macOS sierra or later

you might have to completely disable Gatekeeper checks, and to do that open your terminal and type:

sudo spctl --master-disable

Enter your password and you’re done. Note that there are two (2) dashes before master. You might miss that while copy/pasting.

To verify that your operation was successful you need to open System Preferences and verify that the Anywhere option is now visible. system preferences > security & privacy


Revert the Gatekeeper Settings

To enable Gatekeeper again, enter the following command (notice two dashes before master).

sudo spctl --master-enable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment