LoginSignup
2
0

More than 3 years have passed since last update.

Mac OSをアップデートしたらinvalid active developer path なエラーが発生した件

Last updated at Posted at 2019-10-22

概要

Mac のOSをアップデートし、gitコマンド叩いたら標題のようなエラーが発生するようになりました。

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

CommandLineToolsがないだと・・・なんでや工藤

対処法

ターミナル上で下記コマンドを実行する

$ xcode-select --install

コマンドを実行すると

xcode-select: note: install requested for command line developer tools

と出るのでcommand line developer toolsをインストールしたら治りました。
アップデートで動いてたものが動かなくなると冷や汗かきますね(^_^;)
忘れないようにメモメモ...

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