I am using macOS Catalina version 10.15.4 and I am unable to run Visual Studio Code. It simply says
The application “Visual Studio Code” can’t be opened.
I tried:
- right-click and Open
- Going to System Preferences » Security & Privacy. It didn't have the button 'Open Visual Studio Code anyway'
- Moving the app to the Applications folder and running
xattr -d com.apple.quarantine /Applications/Visual\ Studio\ Code.app
None of these helped.