๐ŸŽฎ Unity Study/ERROR Q&A

[iOS Build Error] xcode-select: error: tool 'xcodebuild' requires Xcode....

ibelieveinme 2022. 3. 8. 18:22
728x90

์—๋Ÿฌ: xcode ๋ฅผ jenkins๋กœ build ํ•˜๋Š” ๊ณผ์ •์—์„œ ๋งŒ๋‚œ ์—๋Ÿฌ.

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

 

์›์ธ: build ์ค‘, command line tool์„ ์‚ฌ์šฉํ•˜์ง€ ๋ชปํ•ด์„œ ์ƒ๊ธด ์—๋Ÿฌ์ด๋‹ค.

 

 

ํ•ด๊ฒฐ์ฑ…: command line tool ์„ค์น˜ ํ›„, command line tool ์‹คํ–‰๊ฐ€๋Šฅ ์ƒํƒœ๋กœ ์…‹ํŒ…ํ•œ ๋’ค ๋‹ค์‹œ ๋นŒ๋“œ๋ฅผ ์‹œ๋„ํ•œ๋‹ค.

xcode-select --install # Install Command Line Tools if you haven't already.
sudo xcode-select --switch /Library/Developer/CommandLineTools # Enable command line tools
# Change the path if you installed Xcode somewhere else.
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

 

 

์ฐธ๊ณ ํ•œ ์‚ฌ์ดํŠธ:

 

 

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a

EDITED FOR PEOPLE JUST GETTING HERE See #569 (comment) and #569 (comment), the warning can just be ignored. Command Line Tools works fine, you do not need the full Xcode. See https://github.com/nod...

github.com

 

728x90