본문 바로가기

IOS Swift

Big Sur 업그레이드 후 터미널에서 git 사용 에러(invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun)

Big Sur로 업그레이드 후 터미널에서 git 사용이 안된다.. 뭐지??..

검색해보니 MAC OS 업뎃 후 흔히 있는 일 인것 같다. 😂

- error -

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

아니 분명 카탈리나에서 xcode 랑 commandLine잘 쓰고 있었는데 ㅠㅠ !! 왜 못찾는 걸까..

암튼 Mac OS 업데이트 후 Xcode Command Line Tools 관련하여 이슈가 발생


- 해결방법 - 

xcode Command Line Tools만 설치 해주면 해결된다고 한다.

xcode-select --install

 

인스톨 후 잘 되는지 확인해보자.

git --version
xcode --version

잘된다! ㅎㅎ

반응형

'IOS Swift' 카테고리의 다른 글

Hashable 이란? - Swift  (2) 2021.08.24
Tuple이란? - Swift  (0) 2021.08.17
Frame과 Bounds의 차이  (4) 2021.08.03
Swift 네이밍 컨벤션  (0) 2020.12.09
Git branch 생성하기  (0) 2020.12.09