dwyl / dev-setup

✈️ A quick-start guide for new engineers on how to set up their Dev environment
81 stars 21 forks source link

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools) #51

Closed nelsonic closed 2 years ago

nelsonic commented 2 years ago

Attempting to use git on new Mac getting the following error: 🤦‍♂️

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
nelsonic commented 2 years ago

This appears to be the exact issue: https://ma.ttias.be/mac-os-xcrun-error-invalid-active-developer-path-missing-xcrun/

xcode-select --install

Waiting for xcode to install. ... ⏳

image
nelsonic commented 2 years ago

Appears to have worked. Closing. ✅