Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio code cant be opened because the identity of the developer cannot be confirmed

I have OS X El Capitan, and after i downloaded VS Code, I tried to open VS Code and i am getting this error:

visual studio code cant be opened because the identity of the developer cannot be confirmed

Screen shot of the error message:

enter image description here

I have latest OS X El Capitan and i tried few times to open VS code with no luck.

Any recommendation how to fix this ?

like image 821
Mostafa Avatar asked Sep 03 '25 05:09

Mostafa


2 Answers

This issue is related to tight signing contrasting on OS X El Capitan, Here is how to fix this issue:

To fix this follow these steps:

1) Open System Preferences.

2) Double click on Security & Privacy.

3) Under General Tab, click on Advanced.

4) Change the settings to: Allow apps downloaded from Anywhere.

enter image description here

5) Close the window, Open Visual Studio Code.

VS Code opens for the first time with no issues.

6) Go back to the same window as mentioned in step 3, change the option as it was before: Mac App Store and identified developers.

7) Re-open VS Code and it will open with no issues.

like image 139
Mostafa Avatar answered Sep 04 '25 22:09

Mostafa


A better answer would be not to change system preferences, but you can open by right clicking (or control+click) application, then pressing open (You'll have to view it from finder view or on desktop). Mac's default to not allowing unknown developers to one click open.

like image 35
troph Avatar answered Sep 04 '25 21:09

troph



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!