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

댓글 남기기