며칠 전 xCode를 14.1로 업데이트했는데,
error Could not get the simulator list from Xcode. Please open Xcode and try running project directly from there to resolve the remaining issues.
Error: Command failed: xcrun simctl list --json devices
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
에러가 났다.
원인
xCode 신규버전을 설치하고 나서 command line tool이 초기화되지 않아서 생기는 문제
2가지 해결법
1. Xcode - Preferences - Locations에서 "Command Line Tools"를 설정해주면 됨.
2. 터미널에서 해당 명령어 사용
$ sudo xcode-select --reset
해결했다!
'React-Native' 카테고리의 다른 글
react-native 렌더링 최적화 1 (0) | 2023.07.17 |
---|---|
[react-native] react-native-draggable-flatlist 모든 아이템이 렌더링되지 않는 이슈 (2) | 2023.05.28 |
[react-native] error Failed to install the app. Make sure you have an Android emulator running or a device connected. (1) | 2023.05.18 |
[react-native] 요즘 자주 사용하는 디자인 패턴 (0) | 2023.05.08 |
[react-native] 화면이 mount 될 때 DeviceEventEmitter 동작하기 (0) | 2023.03.22 |