본문 바로가기
개발/게임) 개발관련

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

by 테샤르 2020. 12. 7.

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

 

Xcode를 커맨드로 빌드하는 과정에서

CommandLineTools를 사용하지 못한다는 에러이다.

터미널에서 다음으로 권한을 준다.

 

<본인의 MacOS 의 Xcode 경로 : /Applications/Xcode.app 인 경우>

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

< ls-l 명령어로 파일의 권한 종류 확인 >


rwx는 각각 읽기(read), 쓰기(write), 실행(execute) 권한이다.

반응형

 

<Xcode-Select 명령어>
Xcode-select [—switch] [path] 

 

 

참고 : github.com/nodejs/node-gyp/issues/569

 

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

 ★☆

 

반응형

댓글