DEV Community

Giulia Chiola
Giulia Chiola

Posted on • Edited on • Originally published at giuliachiola.dev

Fix developer path after upgrade to MacOS Catalina

After MacOS system upgrade to Catalina, on my computer git did not work anymore. If you happened the same, the following steps resolve it for me!

Running any of git commands, you would probably got this error

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

To fix it, you had to run

xcode-select --install
Enter fullscreen mode Exit fullscreen mode

The "xcode-select" command requires the command line developer tools.

A prompt will appear asking you to install it now.

xcode-prompt

When installation is completed, git should work as expected! 😎

📚 More info

Invalid active developer path

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay