본문 바로가기
iOS/트러블슈팅

[빌드오류해결 - 스토리보드] Failed to find or create execution context for description

by jedchoi 2022. 3. 15.

Mac을 초기화 하고 프로젝트를 새로 설정하던 중 빌드 오류로 몇일을 고생했다.

무시무시한 non-zero exit code를 만났으나, 별다른 이슈를 못찾겠는게 문제였다.

그러던 중 스토리보드 파일 하나가 에러 목록에서 발견되어 확인해보니, 아래와 같은 오류가 있다.

encountered an error communicating with IBAgent-iOS

stackoverflow를 뒤지며 이것저것 해보았지만 실패.

에러 로그를 조금 더 보니 아래와 같은 오류 로그도 눈에 보인다.

Failed to find or create execution context for description <IBCocoaTouchPlatformToolDescription: 0x7fa8bad9a6f0>


아래 명령을 수행하고 Clean Build로 문제 해결.

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService


출처 - https://stackoverflow.com/questions/36533720/failed-to-find-or-create-execution-context-for-description-ibcocoatouchplatform