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)

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay