LoginSignup
0
0

More than 1 year has passed since last update.

【Git】macOSアップデート後に出るgitのエラー

Last updated at Posted at 2023-02-06

はじめに

Railsなどを中心に勉強中のエンジニア初心者が他の記事を参考にしたり、実際に実装してみたりして、アウトプットの一環としてまとめたものです。
間違っていることもあると思われるので、その際は指摘いただけると幸いです。

xcrun: error: invalid active developer path

macOSをアップデートした後にgitコマンドを実行すると、下記のエラーが出ることがあるらしい。

(実際に自分もエラーが出た)

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

解決方法

Xcode Command Line Toolのインストールすれば解決する。

xcode-select --install

参考

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