[Mac] xcrun: error: invalid active developer path 해결하기

0

맥 OS 업데이트 이후.. git clone 을 하려는데 다음과 같은 에러가 발생했다.

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

그래서 다음 명령어로 해결함

$ xcode-select --install

그럼 다음과 같은 말이 뜨면서 설치가 시작된다.

xcode-select: note: install requested for command line developer tools

처음엔 166시간 남았다고 뜨더니.. 10분 내로 해결되었다!

간단한 에러이지만 또 찾아볼 일이 있을 것 같아 정리해두었다.

profile
𝙸 𝚊𝚖 𝚊 𝗙𝗘 𝚍𝚎𝚟𝚎𝚕𝚘𝚙𝚎𝚛 𝚠𝚑𝚘 𝚕𝚘𝚟𝚎𝚜 𝗼𝘁𝘁𝗲𝗿. 🦦💛

0개의 댓글