0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrunへの対処

Last updated at Posted at 2022-12-10

xcrun: error: invalid active developer path...によりgitコマンドが実行できなくなってしまった

要因

  • macOSをMontereyからVenturaにアプデしたから(ググってると似たような内容が多いですね・・・)

対処法

下記コマンドを実行すると解決されると思います。

xcode-select --install

インストールが終わると下図のような画面がでて完了します

だいたい5分少々くらで完了しますかね。
最初40時間って表示が出て焦りましたが、意外と早かったです。
スクリーンショット 2022-12-10 12.45.13.png

0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?