Why does macOS say the app is “damaged”?
macOS Gatekeeper adds a “quarantine” flag to apps downloaded outside the App Store and checks them before the first launch. When an app is not signed the way Gatekeeper expects, it shows “App is damaged and can’t be opened. You should move it to the Bin.” Most often the file is fine and only the quarantine flag needs clearing.
The same message can also mean the download really is incomplete or has been altered. If you are not sure, delete the app, download it again from its page on this site, and make sure the build matches your Mac (Apple Silicon or Intel) and your macOS version before trying the fix below.
The fix: one Terminal command
This clears the quarantine flag for that one app only. Nothing else on your Mac changes.
- Move the app into your Applications folder first.
- Open Terminal (Applications → Utilities → Terminal, or press ⌘ Space and type “Terminal”).
- Run the command below. Replace AppName with your app, or type “sudo xattr -cr ” with a trailing space and drag the app onto the Terminal window.
- Enter your Mac password when asked (it stays hidden) and press Return.
- Open the app again.
sudo xattr -cr '/Applications/AppName.app'
Last resort: allow apps from anywhere
Only if the fix above did not work and you have re-downloaded the app. This switches Gatekeeper’s check off for every app on your Mac, not just this one, so turn it back on as soon as the app opens.
sudo spctl --master-disable
On macOS 15 Sequoia and newer this command only unlocks the setting. Afterwards open System Settings → Privacy & Security, scroll to Security, and choose “Anywhere”.
When the app has opened once, switch the check back on. Apps you have already opened normally keep opening; if one does not, run the one-command fix above on it.
sudo spctl --master-enable
Only install software from sources you trust. Clearing quarantine skips a macOS safety check, so make sure you know what you are running.
