본문 바로가기

webdesign/VisualStudio

visual studio code can’t be opened because apple cannot check it for malicious software

https://stackoverflow.com/questions/58457958/visual-studio-code-cant-be-opened-because-apple-cannot-check-it-for-malicious

 

Visual Studio Code can't be opened because "Apple cannot check it for malicious software"

I have downloaded Visual Studio Code for the first time but I keep getting message below: "Visual Studio Code" can't be opened because Apple cannot check it for malicious software. This so...

stackoverflow.com

macOS Catalina requires apps to be notarized by Apple. Your version of Visual Studio Code is yet to be updated by Microsoft for the new OS.

Please try the following:

Right-click on the app and select Open.

If this did not work, remove the quarantine extended attribute that’s set on the app:

  1. Move the app to the Applications folder
  2. Open Terminal.app, then paste and execute the following command:

xattr -d com.apple.quarantine /Applications/Visual\ Studio\ Code.app

 

 

-------------------

✔︎ solved

Feb. 2020, now that VSCode 1.42 has been released, vscode commit c196df9 from João Moreno is supposed to solve this issue; from PR 86588.

Notarized macOS Builds

Visual Studio Code for macOS is finally notarized, so you should no longer see the following dialog: