macOS Troubleshooting · Safe Verification

How to Fix 'App Is Damaged and Can't Be Opened' Safely on Mac

When macOS warns that an app is damaged, Gatekeeper has detected a corrupted download, broken signature, or untrusted build. Follow these safe steps to re-download from official sources, run read-only signature checks, and work with the developer without weakening macOS security.

Read-only SHA-256 check on a downloaded installer
shasum -a 256 ~/Downloads/AppName.dmg
Read-only code signature verification
codesign --verify --deep --strict --verbose=2 /Applications/AppName.app
Read-only Gatekeeper notarization check
spctl --assess --type execute --verbose=4 /Applications/AppName.app

Why macOS shows 'App is damaged and can't be opened'

When macOS displays "[App Name] is damaged and can't be opened. You should move it to the Trash", Gatekeeper has detected a real integrity or trust problem with the app bundle. Common causes include:

  • Corrupted or incomplete download: A network drop, interrupted browser download, or third-party archive tool altered files inside the .app bundle.
  • Broken or modified code signature: Something modified files inside the bundle after the developer signed it, or an app bundle was synced through a cloud folder that altered resource forks or permissions.
  • Revoked or expired Developer ID certificate: Apple revoked the signing certificate or the developer shipped an unsigned or unnotarized build.
  • Untrusted mirror or repackaged copy: Copies downloaded from third-party aggregator sites are frequently modified or tampered with.

Never disable macOS security or strip security flags

Many forum posts suggest turning off Gatekeeper globally or removing macOS security attributes from downloaded apps. Skip those shortcuts. Gatekeeper and code-signing verification exist specifically to stop tampered software and malware from running on your Mac. If an app fails verification, verify why it failed and obtain an authentic, properly signed build instead.

Safe step-by-step checklist

Step 1: Move the broken copy to Trash and re-download from the official source

Delete the damaged copy from /Applications and ~/Downloads. Then download a fresh installer strictly from:

  • The developer's official HTTPS website
  • The Mac App Store
  • An official GitHub Releases page or verified Homebrew cask maintained by the developer

Avoid third-party download portals and file-sharing mirrors. When opening a .dmg or .zip, drag the app directly into /Applications using macOS Finder rather than syncing an unpacked .app across cloud storage.

Step 2: Check SHA-256 checksums if the developer publishes them

Many open-source and indie Mac developers publish a SHA-256 hash beside their download links. You can compute your downloaded file's hash with macOS's built-in read-only tool and compare it character for character against the official release page:

shasum -a 256 ~/Downloads/AppName.dmg

If the hashes do not match, delete the download immediately and do not open it.

Step 3: Inspect the app's code signature and notarization (read-only)

Before trusting any troubleshooting advice, check what macOS actually sees inside the app bundle using Apple's read-only verification commands. Neither command changes any system setting or modifies the app:

codesign --verify --deep --strict --verbose=2 /Applications/AppName.app
spctl --assess --type execute --verbose=4 /Applications/AppName.app
  • A healthy distributed Mac app reports valid on disk from codesign and accepted (source=Notarized Developer ID or Mac App Store) from spctl.
  • If codesign reports a modified file or invalid signature on a fresh official download, the package itself is broken at the source.
  • If spctl reports rejected or an unnotarized build, the developer has not properly signed and notarized the release for current macOS versions.

Step 4: Verify architecture and macOS version requirements

Confirm that your Mac meets the developer's system requirements:

  • Open the Apple menu -> About This Mac to check whether you have Apple Silicon (M1 to M4+) or an Intel processor, and confirm your exact macOS version.
  • An Apple Silicon-only app cannot run on an Intel Mac, and older unmaintained Intel apps may fail to launch on modern macOS releases.

Step 5: Contact the developer with your read-only verification output

If a fresh official download still triggers the damaged-app warning or fails codesign / spctl verification, email the developer's support team or open an issue on their official repository. Share:

  • The exact download URL and app version
  • Your macOS version and Mac chip
  • The read-only output of codesign --verify and spctl --assess

Legitimate developers need that report so they can re-sign, notarize, and republish a clean build.

How Coco handles signing and safe cleanup

Every official Coco release on /download is Developer ID signed and Apple notarized, and Sparkle updates verify an EdDSA signature over each release archive before installing. If you want to clean up a broken third-party app and its Library caches after moving on, Coco's safe App Uninstaller builds an explicit, reviewable Trash-based removal plan without shell deletion.

Damaged app warning FAQ

Why should I avoid turning off Gatekeeper or stripping security flags?

Gatekeeper and code-signing checks protect your Mac from corrupted binaries and tampered malware. Disabling them removes a core macOS defense instead of fixing the underlying broken or untrusted build.

Do read-only codesign and spctl verification commands change anything on my Mac?

No. Both commands are strictly read-only inspection tools built into macOS. They report whether an app's signature is intact and whether Apple notarization is accepted without altering system security.

Can a normal download become 'damaged' without malware?

Yes. An interrupted download, a corrupted disk image, syncing an unpacked .app through a cloud drive, or a developer shipping an expired certificate can all break code-signature validation. Re-downloading cleanly from the official source fixes most accidental corruption.

What if a fresh copy of Coco ever shows a Gatekeeper warning?

Official Coco builds are Developer ID signed and Apple notarized, so they open without Gatekeeper warnings. If a copy shows a warning, delete it immediately, download directly from https://coco.butterflydream.ai/download, and report the source to support@butterflydream.ai.

Clean up broken apps safely

Coco includes a reviewable, Trash-based app uninstaller alongside encrypted clipboard sync, Launchpad, and screenshots.