git

Git failure after updating to macOS Ventura

tomoyk

Tomoyuki KOYAMA

Posted on February 2, 2023

Git failure after updating to macOS Ventura

Environment

  • macOS Ventura
  • MacBook Air with M1 chip

Problem

I faced the following error after updating macOS Ventura from Monterey.

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

Solution

One of the solutions for the error is to execute the command as follows.

$ xcode-select --reset
Enter fullscreen mode Exit fullscreen mode

Reference

💖 💪 🙅 🚩
tomoyk
Tomoyuki KOYAMA

Posted on February 2, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related