macOS Sierra 업데이트 후 git 동작 안할 때

macOS를 업데이트 한 후에 아래와 같이 나오면서 git command가 동작을 안했다.

imac:scm cky$ git statuxcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

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

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

다음과 같이 command line tool을 설치해주면 해결된다. 🙂

imac:scm cky$ xcode-select --install
xcode-select: note: install requested for command line developer tools

댓글 달기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다