
Disable Gatekeeper (macOS 10.12 Sierra ~ macOS 10.14 Mojave)
To resolute Gatekeeper issues on macOS and unlock images and programs (annoying image/application is damaged messages pretending you cannot open things ).

It a simple fix and here is how we fix it:
- Close System Preferences on your Mac.
- Open the Terminal app from the /Applications/Utilities/ folder.
- Type the following command syntax:
- For a certain application run in Terminal:
sudo xattr -r -d com.apple.quarantine /Applications/LockedApp.app
- To disable checks globally run in Terminal:
sudo spctl --master-disable
- Hit enter on your keyboard.
- Enter your administrator password.
- Hit enter on your keyboard.

This will allow you to open and run apps from “Anywhere” outside the Mac App Store.

Revert the Gatekeeper Settings
To enable Gatekeeper again, enter the following command (notice two dashes before ‘master’).
sudo spctl --master-enable
Video Tutorial
Disable Gatekeeper (OS X 10.6 Snow Leopard ~ OS X 10.11 El Capitan)
Open System Preferences > Security & Privacy > General

Click on lock icon, and type in administrator name and password.

Select “Anywhere”.
