macOS2 [macOS] : xcrun: error: invalid active developer path ์ค๋ฅ ํด๊ฒฐ. Xcode ? apple์ macOS, iOS, watchOS ๋ฐ tvOS์ฉ ์ํํธ์จ์ด ๊ฐ๋ฐ์ ์ํ IDE์ด๊ณ , macOS ์ ์ฉ์ด๋ค. ์ด์ ๋ฐค์ ์ํํธ์จ์ด ์ ๋ฐ์ดํธ๋ฅผ ํ ํ์, ์ค๋ ํ๋ก๊ทธ๋จ ์์ ์ ์งํํ๊ธฐ ์ํด์ vscode๋ฅผ ์คํ์์ผ๋ณด๋ error๊ฐ ๋ด๋ค. ์ค๋ฅ xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ์ ์ค๋ฅ ๋ฉ์์ง๋ Xcode Command Line Tools๊ฐ ์ค์น๋์ง ์์๊ฑฐ๋ ์ ๋๋ก ๊ตฌ์ฑ๋์ง ์์์ ๋ ๋ฐ์ํ๋ ์ค๋ฅ์ด๋ค. Xcode Command Line Tools๋ .. 2023. 7. 9. [์ฝ๋ฆฐ์ด TIL] / macOS(m1)์์ 'homebrew', 'nvm'์ค์นํ๊ธฐ, ์ค์น ์ค๋ฅ ํด๊ฒฐํ๊ธฐ. ๋ชฉ์ฐจ 1. Homebrew ์ค์น ๊ณผ์ . 1-1. ์ค์น ์ค๋ฅ ๋ฐ์ ๋ฉ์์ง์ ์ค๋ฅ ํด๊ฒฐ. 2. brew๋ฅผ ์ด์ฉํ nvm ์ค์น ๊ณผ์ . 3. nvm์ผ๋ก node.js ์ค์นํ๊ธฐ. 1. homebrew ๋? : macOS์ฉ ํจํค์ง ๊ด๋ฆฌ ๋๊ตฌ. ๊ฐ์ฅ ํ์ค์ผ๋ก ์ฌ์ฉ์ด ๋ง์ด ๋๊ณ ์๊ธฐ ๋๋ฌธ์, macOS ํ๊ฒฝ์ ํตํด์ ํ๋ก๊ทธ๋๋ฐ์ ํ๋ ๊ฐ๋ฐ์๋ค์๊ฒ๋ ๊ฑฐ์ ํ์์ ์ธ ๋๊ตฌ์ด๋ค. ์ฐ๋ฆฌ๊ฐ ์ค๋ ์ค์นํ nvm(Node Version Manager)๋ผ๋ ์์คํ ํจํค์ง๋ฅผ ์ค์นํ๊ธฐ ์ํด homebrew๋ฅผ ๋จผ์ ์ค์นํ๋ค. ์๋์ ๋ค์ด๋ก๋ ํ๋ฉด์ผ๋ก ๋ฐ๋ก ์ฐ๊ฒฐ๋๋ ๋งํฌ ๋ฃ์ด๋๊ฒ ์ต๋๋ค. https://brew.sh/index_ko Homebrew The Missing Package Manager for macOS (or Linux). bre.. 2023. 5. 24. ์ด์ 1 ๋ค์