Fixing the "app is damaged" warning
macOS says this about a lot of honest tools. Here is the order I actually try, and the thing I don't want you to do.
Why it says damaged
You download an app, you open it, and macOS tells you it is damaged and should be moved to the Trash. Nine times out of ten the file is fine. Gatekeeper put a quarantine flag on it because it did not come from the App Store, and the message is worse than the problem.
It can also mean the download really did break. If the disk image will not open at all, or the size is a few kilobytes when the page said hundreds of megabytes, get the file again before you touch any settings. A second download is cheaper than an afternoon of "fixes."
I see this most on the office Macs, where someone grabbed a utility between sessions and then assumed the Mac was scolding them for a reason. It is scolding the file's origin, not your judgment.
The right-click that usually fixes it
- If the app is still in the disk image, drag it to Applications first. Don't run it from the image.
- Eject the image.
- In Applications, right-click the app and choose Open. Don't double-click. The right-click is the step that shows the extra button.
- Read the dialog. If it offers Open, use that. macOS remembers the exception for this copy of the app.
That is the whole fix for most of the mail I get. If the dialog does not offer Open, and only offers Move to Trash, go to the next section. Don't keep clicking the same icon harder.
When the flag is the whole problem
Sometimes the quarantine flag sticks and the right-click never appears. Then I clear that flag for the one app, from Terminal. This is not a ritual. It is one command, aimed at one application, after the app is already in Applications.
xattr -dr com.apple.quarantine /Applications/Compresto.app
Change the name to the app you actually have. Then try the right-click Open again. I don't run this against your whole drive, and I don't want you to either. A flag on one app is a small thing. A flag cleared everywhere is how you stop noticing the next file that really is wrong.
If Terminal says the file doesn't exist, the app is not where you think it is. Finder, Go to Folder, /Applications, and look. A copy sitting in Downloads does not count.
What I don't want you to turn off
Please don't disable Gatekeeper for the whole Mac because one utility annoyed you. I have sat with people who did that six months earlier, on advice from a forum, and then couldn't remember why Word was launching things they didn't ask for. The protection is blunt. It is still the thing that asks you before a random disk image gets a vote.
I also don't want you to change the system integrity setting, boot into anything exotic, or install a "fixer" that promises to solve damaged apps in general. Those tools have a habit of being the actual problem.
If the right-click and the one command don't do it, write me. Tell me the app, the version, and the exact sentence macOS showed you. A photo of the dialog is better than a paraphrase. I would rather look at the real words than at a summary that dropped the only useful clause.