iOS 빌드 이슈

임효진·2023년 2월 19일
0

iOS 빌드 시, 아래와 같은 에러가 발생


💡 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(시뮬레이터)위치가 다른 경로에 있었을 가능성
해결방안 :

# xcode 경로확인
$ xcode-select -p
/Library/Developer/CommandLineTools
 
# xcode 경로 변경
$ sudo xcode-select --switch /Applications/Xcode.app
 
# xcode 경로 다시 확인
xcode-select -p  
/Applications/Xcode.app/Contents/Developer

# npm pod install
profile
네트워크 엔지니어에서 풀스택 개발자로

0개의 댓글