MacOS Catalina ์—…๋ฐ์ดํŠธ ํ›„ ๋ฐœ์ƒํ•œ Invalid active developer path ์˜ค๋ฅ˜ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

 

MacOS๋ฅผ Catalina๋กœ ์—…๋ฐ์ดํŠธ ํ•˜๊ณ ๋‚˜๋‹ˆ ์•„๋ž˜์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜์˜€๋‹ค.

 

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

 

๊ทธ๋ฆฌ๊ณ  IntelliJ์—์„œ ์•„๋ž˜์™€ ๊ฐ™์ด ๊ฒฝ๊ณ ํŒ์—…์„ ๋„์›Œ์ฃผ์—ˆ๋‹ค.

 

 

๋ญ์ง€? ์ด๋Ÿฐ ์˜ค๋ฅ˜๋Š” ์ฒจ์ธ๋ฐ?? ์ผ๋‹จ ๊ธฐ์กด์— ์ž˜ ๋˜๋˜๊ฒƒ์ด๋ผ ์„ค์ •๋งŒ ๋ฐ”๊พธ๋ฉด ๋˜๊ฒ ์ง€ ํ•˜๊ณ  Configure์— ๋“ค์–ด๊ฐ€๋ณด๋‹ˆ 

 

 

path ๊ด€๋ จํ•ด์„œ ์„ค์ •ํ•˜๋Š” ๊ฒƒ์€ ์ œ์ผ ์ƒ๋‹จ์— ์žˆ๋Š” Git ์‹คํ–‰ํŒŒ์ผ ์œ„์น˜๋ฅผ ์„ ํƒํ•ด์ฃผ๋Š” ๊ณณ์ธ๋ฐ..์ด๋ฏธ ์ž๋™์œผ๋กœ ์ฐพ์•„์„œ ์„ค์ •์ด ๋˜์–ด์žˆ๋‹ค. ํ•˜์ง€๋งŒ Test๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋Š” ์ˆœ๊ฐ„ 

 

์ด๋ ‡๊ฒŒ ๋˜‘๊ฐ™์€ ์˜ค๋ฅ˜๋ฉ”์‹œ์ง€๋ฅผ ์ถœ๋ ฅํ•ด์ค€๋‹ค.

์ฝ˜์†”์ฐฝ์—์„œ ์ง์ ‘ git ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•ด๋ณด๋‹ˆ ๋™์ผํ•œ ์˜ค๋ฅ˜๋ฉ”์‹œ์ง€๊ฐ€ ์ถœ๋ ฅ๋œ๋‹ค.

์ด๋Ÿด๋• ๊ตฌ๊ธ€์‹ ์—๊ฒŒ ๋ฌผ์–ด๋ณด๋ฉด ๋ชจ๋“  ํ•ด๊ฒฐ์ฑ…์ด ๋‹ค ์žˆ๋‹ค.

๊ฒ€์ƒ‰ํ•ด๋ณธ ๊ฒฐ๊ณผ xcode-select --install ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด cli ํˆด์„ ์„ค์น˜ํ•ด์ฃผ๋‹ˆ ๋”์ด์ƒ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜์ง€ ์•Š์•˜๋‹ค.