Yogesh Chauhan's Blog

Solution to the error “Visual Studio Code can’t be opened because Apple cannot check it for malicious software”

in Miscellaneous on February 26, 2020

I wanted use Visual Studio code on mac as well since I was using it on my Windows but when I installed and tried to open it, I got this error message from Mac OS Catalina.

The error looks like this:

“Visual Studio Code” can’t be opened because Apple cannot check it for malicious software.

This software needs to be updated. Contact the developer for more information.

I tried to uninstall and re-install VS Code as well as updated the Mac OS but it didn’t work out well. At the end I found solution to this problem. Mac OS 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.

Follow these 2 steps.

1. Just move the app to the Applications folder.

2. Open Terminal.app and then write/copy the following command in the terminal app and hit enter.

//add the following line

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


Source: Stack Overflow

Most Read

#1 How to check if radio button is checked or not using JavaScript? #2 How to add Read More Read Less Button using JavaScript? #3 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #4 How to uninstall Cocoapods from the Mac OS? #5 PHP Login System using PDO Part 1: Create User Registration Page #6 How to Use SQL MAX() Function with Dates?

Recently Posted

#Jan 16 Colleague UI Basics: The Search Area #Jan 16 Colleague UI Basics: The Context Area #Jan 16 Colleague UI Basics: Accessing the user interface #Jan 14 How to display a student’s individual transcript in Colleague? #Jan 11 How to install PuTTY on a MacOS? #Jan 8 How to Install Xcode Command Line Tools on MacOS?
You might also like these
What’s a Closure in JavaScript?JavaScriptThe substr() method in JavaScript and how it’s different from substring()JavaScriptWhat is ECMAScript?JavaScriptCanvas Drawing in HTML5HTMLHow to Write Complex Search Queries in SQL?SQL/MySQLDynamically generate names in SCSS (animation example)SCSSHow to redirect or load a new document using JavaScript?JavaScriptSome Useful Operators in The SQL WHERE ClauseSQL/MySQLHow to compile and watch Sass using Gulp in WordPress?SCSSA quick introduction to API, REST API and PostmanMiscellaneousKilling A Project Part 4: What Would Be Your Top 3 Priorities For Planning The Cancellation?MiscellaneousHow to disable the Recovery Mode in WordPress?WordPress