Code Fragment

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

§무명소졸§ 2020. 4. 6. 10:55

맥북에 오랜만에 SVN 설치해서 사용할 일이 있어다. Svn을 설치하고 실행을 했는데 아래와 같은 오류 메세지를 만났다. 

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

몇번의 삽질 끝에 검색해보니 간단한 해결 방법이 있었다.-_-)

sudo xcode-select --reset

 

아래 링크에 더 많은 해결 방법들이 있으니 위 명령어로 해결 안되면 가서 확인해보자.

https://stackoverflow.com/questions/35009531/xcrun-error-active-developer-path-applications-xcode-app-contents-developer