"Developer cannot be verified" after cleaning Mac caches
App cannot be opened because the developer cannot be verified after a cache clean? Open it manually or put the removed cache items back from the Trash.
TroubleshootingUpdated 7 min read
On this page
After a cache clean, an app that ran fine yesterday can refuse to start: "“MATLAB_R2021b” cannot be opened because the developer cannot be verified." Your app's name replaces MATLAB_R2021b. In the case this page is based on, the dialog offered only Move to Trash and Cancel. Other users report a related symptom: an installer that ends in "Install Failed" after a cleaner ran.
Why it happens
We don't have a confirmed cause for every case, so here is what is known and what is likely.
- Gatekeeper is re-checking the app. macOS checks downloaded software the first time it opens. Apple says Gatekeeper verifies that the software is from an identified developer, is notarized by Apple, and hasn't been altered. The warning appears when that check can't pass.
- A cache or record the app relied on went missing. A commenter in the MATLAB thread said a setup-record file in
~/Library/Cacheshad been deleted. We haven't verified that for MATLAB or any other app. It is the most plausible link between a cache clean and a security prompt, because caches are normally safe to rebuild but not every file in them is a throwaway. - The app really is unsigned or old. Apple notes the warning doesn't necessarily mean something is wrong, since some apps predate developer ID registration. A cache clean may simply have been the last thing you did before you first reopened it.
- An Apple system cache was removed. One 2021 report says deleting
com.apple.trustdmade Safari slow until the cleaner was told to ignore it. That is a cache owned by macOS itself.
Fix 1: open the app manually
This gets the app running. It doesn't tell you which cache item mattered. Do it only for an app you installed yourself from a source you trust. If you don't recognize the app, leave it blocked. Don't turn off Gatekeeper to get past this.
On macOS 14 Sonoma
- In Finder, open Applications (or wherever the app lives). Don't use Launchpad, which has no shortcut menu.
- Control-click the app and choose Open.
- In the dialog, click Open.
- If the dialog appears again, repeat once. In the reported case it took two attempts.
Apple says the app is then saved as an exception, and you can open it by double-clicking in future.
On macOS 15 Sequoia and macOS 26 Tahoe
Apple's current instructions use Open Anyway instead of the shortcut menu.
- Try to open the app once so macOS blocks it, then close the dialog.
- Open System Settings and click Privacy & Security.
- Scroll to the Security section and click Open Anyway next to the app's name. Apple says the button is available for about an hour after you try to open the app.
- Enter your login password if asked, then click Open.
Apple's pages: Safely open apps on your Mac and Open a Mac app from an unidentified developer.
Fix 2: put the removed cache items back
Restoring is the most direct test of whether the clean caused the problem. It also fixes installers that ended in "Install Failed" if they depended on a removed item. We don't know what the cleaner removed in that report, so treat it as a test, not a diagnosis.
If you cleaned with Gigabroom
- Open Gigabroom. Right after a sweep, the banner offers Undo. You can also choose Edit > Undo Sweep (⌘Z). This restores the whole last sweep.
- Restored items never overwrite anything. A name clash becomes something like "Name (restored).ext".
- If you quit Gigabroom since, the Undo list is gone. It holds the last 20 sweeps and clears when the app quits or the Trash is emptied. Open Settings > History, find the cleanup and click Put Back. This works only for items still in the Trash, and the main window must be open.
- Open the app that was failing.
To see exactly what moved, click View Log in Settings > History. Each item shows its path, with Reveal in Finder and Copy Path.
If you used Finder or another tool
- Open the Trash from the Dock.
- Look for folders named after the app or its bundle ID (for example
com.vendor.appname). - Right-click an item and choose Put Back. If it isn't offered, drag the item to the folder it came from, usually inside
~/Library/Caches.
Restoring only the failing app's items shows which one mattered. Restoring everything is fine if you just want the app working.
Fix 3: installer shows "Install Failed"
- Put the cleaned items back from the Trash, as above.
- Run the installer again.
- If the Trash was already emptied, download the installer again from the developer and run it from the fresh copy.
If it still fails, contact the installer's developer (see below).
Fix 4: Safari or macOS feels slow after the clean
- Check the Trash for anything named
com.apple.…and put it back. - Restart the Mac.
- Stop your cleaner from touching Apple system caches.
Gigabroom already leaves them alone by default (see below).
Which fix matches your symptom
| Symptom | Likely cause | Fix |
|---|---|---|
| "Developer cannot be verified", only Move to Trash or Cancel | Gatekeeper check failed | Fix 1 |
| Same message and Trash still holds the cleaned items | A needed cache record removed | Fix 2 |
| Installer ends in "Install Failed" | Unknown; possibly a removed item | Fix 3 |
| Safari or system feels slow | Apple system cache removed | Fix 4 |
| Trash already emptied | Items gone for good | Reinstall from a fresh download |
If the Trash was already emptied
Gigabroom can't restore items after Empty Trash…, which is permanent. Open the app with Fix 1. If it still misbehaves, reinstall it from a fresh download from the developer. Check their instructions first so you don't lose your license or settings.
Checklist before you try again
- The Trash has not been emptied.
- You trust where the app came from.
- You opened the app via Open or Open Anyway, not Launchpad.
- Items named
com.apple.…are back in place. - You restarted the Mac after restoring.
If nothing works
Contact the app's developer. If a macOS component such as trustd is involved and a restart doesn't help, contact Apple Support. For Gigabroom questions, use our support page. Include:
- The exact message and your macOS version.
- That you removed items from
~/Library/Cachesshortly before it started. - Which items you put back, or that the Trash was emptied.
Subject: App won't open after cache clean ("developer cannot be verified")
Hi,
After I cleared items from ~/Library/Caches on [date, time], [app name and version]
shows: "“[app name]” cannot be opened because the developer cannot be verified."
macOS version: [version]. The app came from: [download source].
I have / have not put the removed items back from the Trash. Emptied Trash: [yes/no].
I tried Open / Open Anyway: [result].
Which cache or support files does the app need, and how do I restore them?
Thanks.Keeping it from happening again with Gigabroom
Gigabroom moves everything it removes to the Trash after a confirmation, so a clean can be reversed until you empty it. We can't promise that removing a given cache won't upset a particular app, but the cache handling is cautious:
- Apple system caches stay out. Quick Clean lists them separately and unchecked. Smart Scan never touches them.
- Running apps are held back. Their caches are skipped. Quit & Clean… asks them to quit first and never force-quits.
- Known data-holding caches are protected. A bundled exceptions list marks them "Keeps data" and never selects them. It covers Spotify, Apple Music, Podcasts, TIDAL, Deezer, Audible, Plex Media Server, Steam, JetBrains, VS Code's pending update and Adobe. It isn't a list of every app, and MATLAB isn't on it.
- You can exclude one app's cache. In Quick Clean, right-click an item and choose Don't Suggest Again. To reverse it, use Settings > Exclusions > Not suggested.
Expand a Quick Clean row with the chevron and read the list before you click Move to Trash…. See how Gigabroom removes files safely and emptying the Trash and Undo Sweep. Gigabroom is part of MacSuite, with a 7-day free trial; the Gigabroom page has details. For general advice, read how to clear cache on Mac safely.
Common questions
Is it safe to click Open Anyway?
Only for an app you are sure came from a trustworthy source and hasn't been tampered with. Apple's own guidance says the same. If you don't recognize the app, don't override the warning.
Will the warning come back each time I open the app?
Apple says the app is saved as an exception, so you can open it by double-clicking afterward. If the warning returns, the app may have changed, for example after an update.
Can I clear caches without breaking apps?
Mostly, but there's no guarantee for every app. Move items to the Trash rather than deleting them, skip com.apple.… folders, and keep the Trash until you've used your apps again.
Does Gigabroom delete caches permanently?
No. Sweeps go to the Trash. The only permanent actions are Empty Trash…, Thin Snapshots… and clearing Gigabroom's own history files.