오늘의 인기 글
최근 글
최근 댓글
Today
Total
05-04 00:00
관리 메뉴

우노

[GitHub] MacOS 업데이트 후, 개발 도구 에러 해결 방법 본문

DevOps/GitHub

[GitHub] MacOS 업데이트 후, 개발 도구 에러 해결 방법

운호(Noah) 2021. 3. 9. 23:11

에러 및 원인

  • MacOS는 매번 업데이트마다 여러 문제가 발생합니다.

  • 따라서, 다수의 개발 툴(git, make, gcc)들이 아래와 같은 xcrun 에러를 뱉게 되는 경우가 있습니다.

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

해결방법

  • xcode-select 명령어로 xcode cli만 따로 설치해서 이 문제를 해결할 수 있습니다.

    • 명령어 입력

        xcode-select --install
    • 설치

    • 완료

Comments