LoginSignup
1
0

More than 1 year has passed since last update.

【Mac】「Visual Studio Codeで開く」ができずエラーになる

Last updated at Posted at 2022-03-14

概要

Finderのコンテキストメニューに「Visual Studio Codeで開く」を追加することで、Finderから編集したいフォルダやファイルを指定するだけでVS Codeで編集できるようにしたいが、 エラーが発生したので対応方針をメモ

エラー内容

アクション“シェルスクリプトを実行”でエラーが起きました: “The application /Users/ユーザー名/Downloads/Visual Studio Code.app cannot be opened, error=Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"”
スクリーンショット 2022-03-15 2.03.09.png
スクリーンショット 2022-03-15 2.03.09

解決策

システム環境設定 -> セキュリティとプライバシー -> フルディスクアクセス ->プライバシー
の順番で開いて、「Finder」のアクセス許可を行う
スクリーンショット 2022-03-15 1.40.18.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0