DEV Community

Tomoyuki KOYAMA
Tomoyuki KOYAMA

Posted on

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

Top comments (0)