티스토리 뷰

xcrun: error: active developer path ("/Applications/Xcode10.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.

Xcode를 업데이트 하고 Git을 쓰려하니 위와 같은 에러 메세지 발생

Xcode를 버전별로 쓰려고 Xcode10, Xcode9 이렇게 이름을 변경하고 쓰고 있었는데,

최근 Xcode 10.2.1이 나오고 이를 업데이트 하면서, 강제로 이름을 기존의 Xcode10.app 에서 Xcode.app 으로 변경하면서 생긴 문제로 보인다.

왜 GIT이 저 경로를 참조하고 있는지는 잘 모르겠지만..

다음의 명령어로 문제를 해결 할 수 있다.

sudo xcode-select --switch /Applications/Xcode.app
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함