[ErrorLog]:React-Native

이홍경·2022년 1월 7일
0
post-thumbnail

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

에러가 발생된 원인이라 생각하는 부분

firebase연동하기 위해 xcode를 실행해야 하는데 작동이 잘 되지 않아 xcode를 다시 설치하는 과정에서

에러가 발생한 것 같다.

조금 더 자세한 에러 내용

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

xcode의 command line 경로를 초기화 하는 명령어라고 한다.

profile
개발자를 꿈꾸는 자

0개의 댓글