gitでxcrun: error

MacOSをバージョンアップしたらgitでエラーが出た。

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

xcode-selectをインストールすると良いらしい。ということで

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

でOK。

$ git branch
* development
  master
スポンサーリンク
スポンサーリンク
スポンサーリンク

シェアする

  • このエントリーをはてなブックマークに追加

フォローする

スポンサーリンク
スポンサーリンク