Computer 그리고 Developer/Mac
MacOS Mojave 업데이트 후 Git 오류 - xcrun: error: invalid active developer path
버리야
2019. 8. 16. 10:29
반응형
MacOS를 Mojave로 업데이트 후에 IntelliJ IDEA에서 Git 오류가 발생했다.
Terminal을 열어서 git 명령어를 쳐도 같은 오류가 나타난다.
# git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Xcode Command Line Tools와 dependency 때문에 생기는 문제인 것 같다.
Xcode 전체 설치하면 시간이 오래걸리니, Xcode Command Line Tools만 설치하는 걸로(이것도 1시간은 걸린다..)
# xcode-select --install
확인.
# xcode-select -v
xcode-select version 2354.
# git --version
git version 2.20.1 (Apple Git-117)
반응형