Dev. 운영체제(OS)/IOS

xcrun: error: invalid active developer path 해결

삘쏘굿 2018. 4. 24. 10:46

사용 환경

macOS High Sierra ver.10.13.4

3.2Ghz i5

16GB 1600MHz DDR3



brew update 를 실행하였더니 아래와 같은 오류가 떳다..


➜  ~ brew update

==> Homebrew has enabled anonymous aggregate user behaviour analytics.

Read the analytics documentation (and how to opt-out) here:

  https://docs.brew.sh/Analytics


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

Error: Failure while executing: git config --local --replace-all homebrew.analyticsmessage true



XCode command line 설치가 안되어서 나오는 문제라길래..


xcode-select --install


terminal에서 요렇게 실행하고 xcode 설치를 완료 후 다시 brew update를 실행하였더니 된다! 끝!