서비스 중인 앱을 실제 단말에 연결해서 디버깅을 하는데
어느 날부터 갑자기 'failed to get the task for process 41176' 에러가 발생하면서
BreakPoint를 걸어서 디버깅을 할 수가 없었는데요..
임시로 Debugger Scheme의 Debug excutable를 해제하고
로그로 찍어가면서 디버깅을 했었는데요.
Details
Could not launch “ MyApp”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: failed to get the task for process 41176
User Info: {
DVTErrorCreationDateKey = "2024-07-01 09:00:13 +0000";
...
"sdk_variant" = iphoneos;
}
--
System Information
macOS Version 12.7 (Build 21G816)
Xcode 14.2 (21534) (Build 14C18)
Timestamp: 2024-07-22T18:49:13+09:00
아래 Developer Forum에서 방법처럼 인증서를 좀 들여다봤는데
Cannot test on physical device ios 15 xcode 13
https://forums.developer.apple.com/forums/thread/691605?answerId=740678022#740678022
Cannot test on physical device ios… | Apple Developer Forums
Hi I can run the app fine on a simulator or from testflight on a device. But when I connect my iPhone and build directly in xcode the app will load and immediately crash. I get the error below from xcode. Could not launch "App" Domain: IDEDebugSessionError
forums.developer.apple.com
어느 순간부터 Provisioning Profile이
'iPhone Distribution: ' 으로 갱신이 되고 있더라고요.

Developer사이트에서 Type이 Development인 Profile을 갱신하고
빌드하였더니 BreakPoint가 잘 잡히는 걸 확인할 수 있었습니다~
'프로그래밍 > iOS' 카테고리의 다른 글
iOS18 Beta EXC_CRASH 0x0000000000000000 에러 (5) | 2024.07.22 |
---|