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 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 PHP Login System using PDO Part 1: Create User Registration Page #6 How to Use SQL MAX() Function with Dates?

Recently Posted

#Aug 15 Is PHP still good for back-end programming? #Aug 10 How to create a multisite network in WordPress? #Aug 3 How to create a circle that follows a cursor using JavaScript and CSS? #Aug 3 How to make a curtain slider using jQuery and CSS? #Aug 2 How to progressively load images and add a blurry placeholder? #Aug 1 How to create a placeholder loader (throbber) using CSS?
You might also like these
How to create a for loop in SCSS (Sass)?SCSSWordPress: How to display fields from ACF Flexible Contents?WordPressCanvas Drawing in HTML5HTMLIN and BETWEEN Operators in SQLSQL/MySQLWhat Is a Graph Database?MiscellaneousHow to add Google Map in WordPress using ACF?WordPressHow to detect the Blog Page in WordPress?WordPressUNION and UNION ALL in PostgresPostgres4 ways to create Date Objects in JavaScriptJavaScriptHow to set opacity or transparency using CSS?CSSHow to create a pricing table using flex in CSS?CSSHow to create a smooth scrolling effect with CSS?CSS