며칠 전 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


해결했다!

+ Recent posts