Hey there! Apple has just released the all-new macOS Sierra. I updated my MacBook Air yesterday and I have been loving it so far. Apple has tightened up the Gatekeeper security in its latest operating system and one very visible change is that the option to allow apps from unidentified developers is no longer there.
This tight security causes some apps to throw ‘this app is damaged’ error. Another error you might see is ‘this app can’t be opened because it’s from an unidentified developer.’
Previously, you could simply change a setting and allow any app to run on your Mac. With macOS Sierra, Apple has removed that option from Settings. But there’s still a way to bypass Gatekeeper and solve ‘this app is damaged’ error. How? Keep reading to know.
A Little Flashback
In previous versions of Mac OS X (now simply macOS), there used to be three options under Settings > Security & Privacy > General. The “Allow apps downloaded from:” area had options, namely: App Store, App store and identified developers, and Anywhere.
As the last option is missing from settings, you’ll need to run a command in Terminal to loosen up Gatekeeper security of macOS Sierra and macOS Mojave. This will add the ‘Anywhere’ option back to where it used to be — allowing you to run apps downloaded from the internet.
Caution: The ‘This App Is Damaged’ message is not really an ‘error.’ It’s a ‘security feature’ designed to keep your Mac from running unauthorised apps that can possibly contain harmful content.
You should only allow third-party apps from developers you trust to run on your Mac. Mac App Store is the best way to download apps. If the app you wish to use isn’t available on App Store (like VLC media player or Skype), proceed with caution when you download it from the internet.
How to Solve ‘This App Is Damaged’ Error in macOS Sierra or Mojave?
To solve ‘this app is damaged’ error, simply open Terminal from Launchpad and enter the following command.
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. So I will leave a screenshot below. I would suggest you type the command manually.
Also note that there is no output or message after you successfully execute the command. Open Settings and verify that the Anywhere option is now visible as shown below.
After this, you can install and run any app that gave you error and now you’d be asked if you wanted to run that app. Click Open and the app should load just fine — like it’s supposed to.
Reverting the Gatekeeper Settings
Once you disable Gatekeeper and run app(s) you want, you should change the security settings back to normal. Leaving Gatekeeper security turned off leaves the ‘gate’ open for other unauthorized apps as well. I’m sure you wouldn’t want a rouge app to harm your Mac.
To enable Gatekeeper again, enter the following command (notice two dashes before ‘master’).
sudo spctl --master-enable
That’s it. You’ve reverted to default security settings. After this, you will still be able to run the app(s) that previously gave you error. If you install a new app after turning on this setting, you will have to turn it off again in order to run the new app(s).
Note that you should run all those apps which you couldn’t run at least once after disabling Gatekeeper, otherwise you won’t be able to run them after enabling it again.
That’s it folks. You were reading How to Solve ‘This App Is Damaged’ Error in macOS Sierra on techstuffer.com. I hope you found this tutorial worth your time and I’d like to thank you for reading.