skip to Main Content

Could not launch “Runner”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: failed to get the task for process 1189
User Info
DVTRadarComponentKey = 855031;
RawLLDBErrorMessage = "failed to get the task for process 1189";

4

Answers


  1. The problem is in Code signing. Your App is signed with wrong provisioning profile and Xcode isn’t allowed to attach debugger to app. For example if you wanna to attach debugger to app that’s is signed with AdHoc provisioning profile, you can install&run your app on your device but you can’t debug it (attach debugger). If you wanna to attach debugger to your app, you need to use App signed with Development provisioning profile. Check your Signing setting for your project and be sure you are using development Provisioning profile to signing the app.

    Login or Signup to reply.
  2. Enabling WiFi/Cellular on my iPhone fixed the problem for me.

    Login or Signup to reply.
  3. I resolved this error by Trusting my developer account on the iPhone. This particular setting can be found at.

    Settings > General > Device Management

    Login or Signup to reply.
  4. run the following command in terminal

    sudo DevToolsSecurity -enable

    ref :- https://developer.apple.com/forums/thread/120282

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search