❗️ 문제
npx expo start 명령어로 서버를 시작하면 다음과 같이 QR코드와 실행할 수 있는 단축키 목록이 나온다.
안드로이드 애뮬레이터(단축키 a)와 iOS 디바이스(QR코드)로는 정상적으로 실행하나,
iOS 시뮬레이터(단축키 i)만 다음과 같은 에러 코드가 발생하였다.
Error: xcrun exited with non-zero code: 60
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):
Unable to boot the Simulator.
launchd failed to respond.
Underlying error (domain=com.apple.SimLaunchHostService.RequestError, code=4):
Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding
💡 해결
XCode의 시뮬레이터 부팅에 문제가 발생하여 생긴 오류이다.
따라서, XCode 캐시를 삭제하고 재부팅한다.
시스템 설정 > 일반 > 저장 공간 > 개발자
다음과 같이 XCode Caches를 삭제하고 다시 실행하면 해결된다.
참고
https://github.com/expo/create-react-native-app/issues/62
'Etc > MacOS' 카테고리의 다른 글
zsh , oh-my-zsh, vim 커스텀 (0) | 2024.07.09 |
---|---|
Mac 터미널 ssh 연결 (0) | 2023.08.13 |
MacBook M1 개발자 초기 세팅 (0) | 2023.03.06 |