What I Do/자주 찾는 내용

맥북 업데이트 이후 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

1Millisecond 2022. 11. 16. 00:57

맥북을 iOS 16으로 업데이트 이후 git 명령어를 입력하면 오류가 발생해서 검색하니, 업뎃하면 자주 발생하는 일이란다.

 

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

 

아래와 같이 터미널에서 command를 입력후 설치하면 해결된다.

 

xcode-select --install

 

https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a

 

Why am I getting an “invalid active developer path” when attempting to use Git after upgrading to macOS Ventura?

After upgrading to macOS Ventura, I tried to run git from Terminal but it kept giving me the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), miss...

apple.stackexchange.com