iOS/오류 해결

[Xcode] Could not launch 해결 방법 (Failed to get the task for process)

안경 쓴 귀니 2023. 7. 17. 20:31
반응형

Xcode 빌드 시 Build는 Success하고 앱이 실행되는것처럼 보이지만,

흰 화면만 나오고 Xcode에서 아래 오류를 출력하는 경우가 있다.

 

Could not launch "Project Name"
Failed to get the task for process

 

 

Details를 누르면 이런 내용이 출력된다.

 

Details

Could not launch “Project Name”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: Failed to get the task for process 38123
User Info: {
    DVTErrorCreationDateKey = "2023-07-17 01:25:36 +0000";
    DVTRadarComponentKey = 123456;
    IDERunOperationFailingWorker = DBGLLDBLauncher;
    RawUnderlyingErrorMessage = "Failed to get the task for process 38123";
}
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
...
}

 

위 오류는 아래 사진처럼 TARGET > Build Settings > Signing > Code Signing Identity > Debug에 Distribution이 적용되어 있어서 생긴 문제이다.

 

 

 

해결 방법으로는 아래처럼 Debug 값을 모두 Developer로 변경해주면 된다.

 

 

반응형