Mac OS 에서 xcrun: error: invalid error 해결하기

Max Kang·2022년 11월 8일
0

MacOS 업그레이드 이후,
intellij 실행을 위해 Command Line Tool idea 을 실행하니 다음과 같은 에러가 발생하였습니다.

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

intellij 만의 문제인 줄알았지만,

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

다른 command line 에서도 에러가 발생하는 것으로 보아, 다른 곳에 문제가 있는 것 같았습니다.

찾아보니,

xcode-select --install

으로 소프트웨어를 업데이트 해주니 해결이 됩니다.

profile
Software Engineer

0개의 댓글