본문 바로가기

코린이

iOS 디바이스 시뮬레이터 갑자기 안될 때 (error: Failed to halt process: Halt timed out. State = running Error launching application...)

[환경]

- Mac OS

- 안드로이드스튜디오

 

error: Failed to halt process: Halt timed out. State = running 
Error launching application 기기명...

뭐 이런 에러가 시뮬레이터를 빌드할 때 갑자기 출력되더라고요..

이럴 때는..

 

Project Files > Flutter > Open iOS module in Xcode

실행하면 Xcode 가 실행됩니다.

그리고

 

Runner 왼쪽에 ► 버튼 눌러주면 시뮬레이터가 Xcode 에서 정상적으로 빌드 됩니다.

실행을 다시 종료하고 안드로이드스튜디오에서 다시 시뮬레이터 실행하면 정상으로 실행 됩니다.

 

[출처]

 

 

iOS Observatory not discovered after 30 seconds. Error launching application on iPhone

I'm unable to debug a freshly created app on physical iOS devices when pubspec dependencies reach a certain size, because it causes the "waiting for observatory port" step to timeout afte...

stackoverflow.com