개발일지

KDoctor - Xcode 본문

카테고리 없음

KDoctor - Xcode

강태종 2023. 6. 17. 16:58

Xcode 설치 후 아래와 같은 에러가 발생했습니다.

[✖] Xcode
  ✖ Xcode requires to perform the First Launch tasks
    Launch Xcode and complete setup

 

아래 명령어로 설치를 하면 해결됩니다.

sudo xcodebuild -installComponents

 

만약 아래와 같은 에러가 발생한다면 디렉토리를 변경하고 다시 시도하면 됩니다!

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
wk10695@WK10695ui-MacBookPro ~ % sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

디렉토리 변경 명령어

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