Starting with OS X Mountain Lion, Apple introduced a data execution prevention routine called Gatekeeper. GateKeeper basically is a feature to protect your Mac from installing apps and softwares downloaded from the third parties instead of App store. Therefore, you will face the following very common error:
App can’t be opened because it is from an unidentified developer
How to fix this:
- Turn Off the GateKeeper
- Go to System Preferences > Security & Privacy > General tab > check on Anywhere option under Allow apps downloaded from
Be noticed of that you need to make the clock icon at the bottom-left corner to unlock if you want to make any changes from Security & Privacy.
How to Disable Gatekeeper from MacOS Mojave, High Sierra, Sierra, El Capitan, Yosemite, Mavericks, and earlier Mac OS X Verions?
- Open Terminal app (Found under: /Applications/Utilities/ ), and Enter the following command line:
sudo spctl --master-disable
After you hit the Enter key, you need to authenticate with your admin password
Go to System Preferences > Security & Privacy > General tab, you will see the Anywhere option under Allow apps downloaded from:’
To check Gatekeeper status:
To enable GateKeeper back, use the following command:
sudo spctl --master-enable