LoginSignup
290

More than 3 years have passed since last update.

macOSアップデート後の『xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)...』の対処法

Last updated at Posted at 2018-11-12

macOS High SierraからMojaveにアップデート後、gitコマンドを利用しようとしたら以下のエラーが出ました。

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

以下のコマンドを実行し、xcodeをインストールすれば解決できます。

xcode-select --install

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
290