LoginSignup
8
4

More than 5 years have passed since last update.

xcrunが見つからない場合の対処

Posted at

下記のようなエラーが発生し、gitコマンドなどが使えない場合の対処

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

解決策その1

下記のコマンドで、xcode-selectをインストール

$ xcode-select --install

解決策その2

下記のコマンドで、xcodeのパスを指定

$ xcode-select --switch /Applications/Xcode.app
8
4
1

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
8
4