“App can't be opened” or “Apple could not verify” on your Mac: what to do
macOS checks every app you download before it runs. When the check fails you get a warning, and the right response depends on which one. This guide shows how to check the app first and open it only if it deserves it.
On this page
macOS 27.0.1 on a MacBook Pro with Apple M1 Pro, 16 November 2026. None of the commands below needs an administrator password, and none of them changes anything unless the step says so.
Step 1: Read the warning carefully
The wording tells you how worried to be:
| Warning | What it means |
|---|---|
| “Apple could not verify ... is free of malware” | The app isn't notarized by Apple, or macOS couldn't check. Common for small open-source tools. Check it (Step 2) before opening. |
| “... is damaged and can't be opened” | The app's signature doesn't match its contents. Either the download broke, or the app was changed after it was signed. Download it again. |
| A malware warning (“contains malware”, “will damage your computer” or “Malware Blocked”, depending on the macOS version) | macOS recognized known malware. Click Move to Trash. Don't try to open it. |
| Only App Store apps allowed | Your security setting allows App Store apps only. See Step 4. |
Step 2: Check the app's signature
Move the app to your Applications folder, then open Terminal (Applications → Utilities) and run this, with your app's name in place of AppName:
spctl -a -vv /Applications/AppName.app
A healthy app answers like this:
/Applications/AppName.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Developer Name (TEAMID1234)
- accepted and Notarized Developer ID: Apple has scanned this exact build. The warning was probably about a broken download or quarantine; opening it is reasonable.
- rejected: macOS won't vouch for it. Check that the origin name is the developer you expect. If there is no origin at all, the app isn't signed.
To see who signed the app in more detail:
codesign -dv --verbose=2 /Applications/AppName.app
The Authority=Developer ID Application: ... line names the signer. If it isn't the company you downloaded from, stop.
Step 3: Open an app you trust with Open Anyway
This is the method Apple documents. It keeps Gatekeeper on for every other app:
- Double-click the app once and close the warning.
- Open System Settings → Privacy & Security and scroll down to Security.
- Next to the message about the app, click Open Anyway and enter your password.
- The warning appears again. Click Open.
macOS now saves the app as an exception, and it opens normally from then on.
Open Anyway appears only for a while after you tried to open the app. If you don't see it, double-click the app again and go straight back to System Settings. It's never offered for apps macOS identified as malware. You confirm with your password or Touch ID.
In current macOS versions, Control-clicking the app and choosing Open no longer skips the check. Use Open Anyway in System Settings instead.
Step 4: If only App Store apps are allowed
In System Settings → Privacy & Security, under Allow applications from, choose the option that includes the App Store and known developers. If the option is greyed out, your Mac is managed by your work or school and you need their permission.
The quarantine flag: a last resort
Files you download get a com.apple.quarantine flag. That flag is what triggers the Gatekeeper check. You can see it with:
xattr -p com.apple.quarantine /Applications/AppName.app
Some developers of unsigned open-source apps tell you to remove it:
xattr -d com.apple.quarantine /Applications/AppName.app
If you get Permission denied, the app belongs to another account; an administrator must do it.
Removing the flag skips the malware check for that app entirely. Do it only for an app whose source you trust and whose download you got from the developer's official page. Never do it for an app that macOS says will damage your computer, and never turn Gatekeeper off for the whole Mac.
Check that it worked, and how to undo
The app should open with a double-click and no warning. Running xattr -p com.apple.quarantine on it again prints No such xattr if you removed the flag.
To undo, and remove the Open Anyway exception, move the app to the Trash and empty it. If you download it again, it arrives with a fresh quarantine flag and macOS checks it again.
When to contact Apple or the developer
If an app from the Mac App Store says it's damaged, delete it and reinstall it from the App Store; if that fails, contact Apple Support. For apps from the web, contact the developer: “damaged” on a fresh download usually means their build or notarization is broken, and only they can fix it.
Sources
- Apple Support: Safely open apps on your Mac
- Apple Platform Security: Gatekeeper and runtime protection
- Apple Support: Safety tips for content downloaded from the Internet
Quick answers
Is it safe to click Open Anyway?
It's reasonable for an app you trust, downloaded from the developer's official site, whose signer you checked with spctl or codesign. Notarization means Apple scanned it, not that it's guaranteed safe. Open Anyway only makes an exception for that one app; Gatekeeper stays on for everything else.
Why does macOS say an app is damaged when it isn't?
Usually the download was interrupted or changed, or the app was signed incorrectly. Download it again from the official site; if it still fails, the developer needs to fix the build.
Should I turn off Gatekeeper?
No. Use Open Anyway for the one app you trust. Turning Gatekeeper off removes the check for every app you download afterwards.