상세 컨텐츠

본문 제목

macOS xcode CommandLineTools 재설치

OS/MAC OS X

by ZelKun 2022. 7. 7. 00:51

본문

반응형

admin@admin % xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

이번에도.. macOS 업데이트 하고 쓰려니 뭔가 안된다

xcode-select --install  다시 진행했더니 이번엔 이미 설치되있으니 업데이트를 하라고

 

구글링을 해보니, 지우고 다시 설치하라고 한다

admin@admin % ls /Library/Developer/CommandLineTools
Library        SDKs        usr
admin@admin % sudo rm -rf /Library/Developer/CommandLineTools
Password:
admin@admin % xcode-select --install
xcode-select: note: install requested for command line developer tools

경로가 다를까 우려돼 ls  확인하고

rm 으로 CommandLineTools  삭제해주고

xcode-select --install  진행하니 설치가 된다

 

macOS Update xcode error

 

macOS Update xcode error

Mojave로 업데이트 했더니 git이 실행이안됨… 아래와 같은 에러를 뿜어줌…. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/Comma..

zelkun.tistory.com

 

https://stackoverflow.com/questions/34617452/how-to-update-xcode-from-command-line

반응형

관련글 더보기

댓글 영역