상세 컨텐츠

본문 제목

맥에서 xcrun: error: invalid active developer path 오류 해결

그냥좋아!!/MAC

by 권태성 2022. 10. 3. 22:29

본문

맥북을 구입하고 OS 업데이트를 하지 않고 쓰다가 간만에 업데이트 했더니 git 같은 명령어를 실행하면 아래와 같은 오류가 발생헀다.

 

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

 

해결 방법은 아래 커멘드를 실행해주고 커멘드 라인 툴을 설치해주면된다.

 

xcode-select --install

 

 

소프트웨어 설치 창이 뜨면 설치를 진행하고 설치가 완료되면 git, pip 같은 개발 관련 명령어를 실행할 수 있다.

 

 

 

 

 

관련글 더보기