xcrun: error 발생 시 조치 방법
반응형

git을 실행하니 아래와 같이 에러가 발생했다.

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

 

/Library/Developer/CommandLineTools 에 바이너들이 문제가 있거나 없어서 인데  용량 확보를 위해 얼마 전 이 경로를 삭제해서 발생한 문제였다.

해결하는 방법은 아래 명령어를 사용해 설치해 주면 된다.

아래 명령어를 치면

$ xcode-select --install

# 이렇게 메시지가 뜬다.
xcode-select: note: install requested for command line developer tools

 

명령어 실행 후 파일이 없으면 이렇게 설치가 필요하다는 메시지가 뜬다.

 

Agree 를 해야 진행할 수 있다.

 

설치 준비
다운로드하여 설치가 진행된다.
설치완료!!

반응형