How to Fix "App is Damaged" Message on macOS Sierra & Later
Resolve Gatekeeper errors and run apps downloaded outside the Mac App Store
Why Does This Error Appear?
When you try to open a downloaded Mac app, you may see a message like:
This is not because the app is actually damaged. macOS Gatekeeper blocks apps that are not code-signed by Apple or a registered developer. To resolve this, you need to disable Gatekeeper checks — either temporarily or permanently.
Quick Fix — Terminal Command
The fastest solution is to disable Gatekeeper via Terminal. Open Terminal and type:
Enter your Mac password when prompted. Now go to System Preferences → Security & Privacy → General — you will see a new option "Allow apps downloaded from: Anywhere" — select it.
Fix for a Single App (Without Disabling Gatekeeper)
If you only want to allow one specific app without disabling Gatekeeper entirely:
Replace YourApp.app with the actual name of the application. This removes the quarantine attribute from that specific app only.
Using Our Helper Tool
We provide a free Helper tool that handles all of this automatically with a simple interface. The Helper can:
- Install Xcode Command Line Tools automatically
- Disable Gatekeeper system-wide
- Enable Gatekeeper again when you are done
- Allow a single specific app to bypass Gatekeeper
- Fix damaged app errors with one click
Step-by-Step for Beginners
- Download the app you want to run
- Try to open it — if you see the "damaged" error, continue below
- Open Terminal (found in Applications → Utilities)
- Type:
sudo spctl --master-disableand press Return - Enter your password (it will not show as you type — this is normal)
- Open System Preferences → Security & Privacy
- Click the padlock icon and enter your password
- Under "Allow apps downloaded from:" select Anywhere
- Now try opening your app again — it will work
sudo spctl --master-enable