티스토리 뷰

요즘 여태까지 했던 걸 정리 중 인데

또 새로운 오류를 잡아서 데려왔습니다.

(이정도면 에러 전문 블로그;;;)

 

아무튼 그래서 이번에도 천천히 알아봅시다. 

 

에러 발생 상황 

Intel Core 를 사용하는 맥북에서 만든 프로젝트를 새로 온 M1 맥북 으로 실행했을때

시뮬레이터는 켜지나 작동이 멈추면서 해당 에러 로그가 발생했습니다. 

 

에러 로그 

엄청길긴 한데 중요한 부분만 자르면 

Simulator device failed to launch 앱ID

Domain: FBSOpenApplicationServiceErrorDomain

Code: 1

Failure Reason: The request was denied by service delegate (SBMainWorkspace).

더보기

Simulator device failed to launch 앱ID

Domain: FBSOpenApplicationServiceErrorDomain

Code: 1

Failure Reason: The request was denied by service delegate (SBMainWorkspace).

User Info: {

    BSErrorCodeDescription = RequestDenied;

    DVTErrorCreationDateKey = “날짜”;

    FBSOpenApplicationRequestID = ??;

    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;

    SimCallingSelector = "launchApplicationWithID:options:pid:error:";

}

--

The request to open “앱이름” failed.

Domain: FBSOpenApplicationServiceErrorDomain

Code: 1

Failure Reason: The request was denied by service delegate (SBMainWorkspace).

User Info: {

    BSErrorCodeDescription = RequestDenied;

    FBSOpenApplicationRequestID = ??;

}

--

The operation couldn’t be completed. The process failed to launch.

Domain: FBProcessExit

Code: 64

Failure Reason: The process failed to launch.

User Info: {

    BSErrorCodeDescription = "launch-failed";

}

--

The operation couldn’t be completed. Launch failed.

Domain: RBSRequestErrorDomain

Code: 5

Failure Reason: Launch failed.

--

Launchd job spawn failed

Domain: NSPOSIXErrorDomain

Code: 111

--

해결 방법

생각보다 간단한데 해당 에러가 발생한 맥북 터미널 열고

아래 명령어 실행해 주시면 됩니다.  

softwareupdate --install-rosetta

* 이때 영어로 A 입력후 Enter 누르세요 이런 말 뜨는데 A 누르고 엔터 쳐야 설치가 됩니다!!!

 

참 간단하죠? 

 

새로 오신 분 컴퓨터가 새거이다보니 

저도 생각을 못 하고 있던 것 같아요.

 

아무튼 큰 문제가 아니라서 다행이었던(?) 버그입니다. 

 

비슷한 경우를 겪으시는 분들이 계실까봐 

간단히 정리해봤는데 도움이 되었으면 좋겠네요.

 

아무튼 오늘도 파이팅입니다.  

댓글