xcrun error occurred after macOS update

ํ‰ํ™”๋กœ์šด ์–ด๋А๋‚  macOS update ํ›„ ๋ฐœ์ƒํ•œ xrun error... ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ๊ณต์œ ํ•ด์š”

Problem

: macOS update (๋‚˜๋Š” Big Sur version 11.1 -> 11.2) ํ›„์— git ์‚ฌ์šฉ์‹œ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ ๋ฐœ์ƒ

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

Solution

  • Xcode Command-line Tools๋ฅผ update ํ•˜๋ฉด ํ•ด๊ฒฐ ๊ฐ€๋Šฅํ•˜๋‹ค!

    • Commands

      xcode-select --install
    • Output

      xcode-select: note: install requested for command line developer tools

๋!

Last updated

Was this helpful?