"[application] can't be opened because Apple cannot check it for malicious software" errors on Cask-installed apps #4294
Replies: 4 comments 4 replies
-
I just discovered the same thing with |
Beta Was this translation helpful? Give feedback.
-
@dkam @chriskilding go to settings -> privacy and security than press allow do it for both |
Beta Was this translation helpful? Give feedback.
-
Another workaround is to use the Show in Finder option (from the error), and then explicitly "Open" the executable. Using that workflow, macOS will prompt if you really want to open this untrusted software. Saying yes will allow it to be run, whereafter it will work in the terminal. |
Beta Was this translation helpful? Give feedback.
-
A couple of workarounds have been proposed, but it would be nice if there were a more durable solution built into Homebrew, such as to install the programs in such a way as to be trusted. Are they untrusted because they're unsigned? Could they be signed? |
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
When I install some macOS apps via
brew cask
, the installation succeeds but macOS prevents the app from opening with the following error:Most recently I've seen this with the JetBrains Toolbox Cask (version 1.27.3.14493), but I have also seen it at random with other apps installed by Cask as well.
In the case of JetBrains Toolbox, I then tried directly downloading the very same version of the app from the JetBrains site and installing that. This worked without issue. This make me think there is something going on within Homebrew Cask that is breaking app notarisation... but only sometimes.
Because this only happens sometimes, I'm posting this as a question rather than a bug report. If you have seen this behaviour as well, I would welcome your comments.
Relevant casks
jetbrains-toolbox
Beta Was this translation helpful? Give feedback.
All reactions