[React Native] Unable to boot device in current state: Booted 에러 해결

도니·2023년 5월 8일

에러

🚨 Unable to boot device in current state: Booted

해결 방법

해결 방법 1

  1. Xcode에서 해당 프로젝트 열기
  2. Xcode의 상단 메뉴에서 "Window" 선택, "Devices and Simulators" 클릭
  3. "Simulators" 탭을 클릭하여 사용 가능한 시뮬레이터 목록 확인
  4. 부팅된 상태인 시뮬레이터가 있다면 해당 시뮬레이터를 선택하고 우측 하단의 "Delete" 버튼 클릭하여 시뮬레이터 삭제
  5. 시뮬레이터를 다시 실행하여 새로운 시뮬레이터 인스턴스를 생성
  6. 다시 Xcode에서 해당 프로젝트 빌드 및 실행

해결 방법 2-1: 일회성 강제 shut down

  1. 터미널(또는 iTerm)에 xcrun simctl list 입력
  2. command+F로 리스트에서 booted 검색
  3. booted 상태인 기기의 일련번호 복사 후 xcrun simctl shutdown (시뮬레이터 일련번호) 입력

해결 방법 2-2: 강제 shut down

Simulator > Settings > When Simulator starts boots the most recently used simulator 체크 해제




나의 경우에는 위의 설정을 마치고 난 뒤에도 에러가 발생했는데, 이번엔 No 'Podfile' found in the project directory 에러였다. 해당 에러 해결 방법은 이 글 참고!

profile
Where there's a will, there's a way

0개의 댓글