Can't execute binary on macOS catalina [duplicate]
I am trying to run a binary that I have downloaded (it's part of flutter). Whenever I'm trying to run it, I get the error:
I have already disabled gatekeeper checks globally with sudo spctl --master-disable
. What else can I do to get this to run?
The solution is to remove the quarantine
attribute from the file(s) in question:
xattr -d com.apple.quarantine /path/to/file