YogeshChauhan . com

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

in Misc 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

amazon

Most Read

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

Recently Posted

Jun 16 What are Stored Procedures for SQL Server? Jun 16 What are Class Constants in PHP? Jun 15 A short basic guide on states in React Jun 15 How to define constants in PHP? Jun 15 How to define visibility for a property in PHP? Jun 15 How to use @if and @else in SCSS?

You might also like these

How to use GROUPING SETS to boost GROUP BY queries in Postgres?PostgresHow to add transparent text on top of an image using CSS?CSSA complete diagram with building blocks of an Angular applicationAngularSafe Practice to add Links to cross-origin destinationUI/UXWhat is Git?MiscHow to catch .keypress() on body using jQuery?jQueryWhat does Containment mean in React?ReactMySQL queries to get data rows from previous month as well as from last 30 daysSQL/MySQLIf statement shorthand examples in JavaScriptJavaScriptHow to use PHPMailer to send an Email via Gmail SMTP Server?PHPHow to load a module with configuration in SCSS?SCSSList of social media icon logo color codes in HEXMisc