투덜이 개발자

xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist 본문

IDE & Tools/Xcode

xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist

엠투 2022. 1. 25. 20:15
반응형

macOS Big Sur Xcode 12.5 쓰다가 macOS Monterey 업데이트 하니

Xcode 버전이 맞지 않아 최신 버전을 설치하고

git 사용을 할려고 보니 아래와 같은 에러 발생

xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist

Last login: Tue Jan 25 20:02:44 on console
jhshin@Jhshinui-MacPro2017 ~ % git -version
xcrun: error: active developer path ("/Applications/Xcode_12.5.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
jhshin@Jhshinui-MacPro2017 ~ %
sudo xcode-select --reset

구글링 해서 위와 같이 콘솔에 입력해서 해결함

 

반응형