iPhone Debugging: How to resolve 'failed to get the task for process'?

Posted by unforgiven on Stack Overflow See other posts from Stack Overflow or by unforgiven
Published on 2009-09-28T18:29:27Z Indexed on 2010/03/25 17:23 UTC
Read the original article Hit count: 403

Filed under:
|
|

I have just added a provisioning profile to XCode (needed to support notifications and in app purchase), setup as needed the build configuration for ad hoc distribution, and tried to run the app on the device (I have done this several times in the past, without any problem).

The app is installed, but it does not start. On the console, I see the following message:

Error launching remote program: failed to get the task for process 82.
Error launching remote program: failed to get the task for process 82.
The program being debugged is not being run.
The program being debugged is not being run.

However, if I start the application on the device manually, it works as expected. I have recently installed the latest XCode 3.2 for Snow Leopard. Is this a known bug of this version of XCode or am I doing something wrong?

EDIT: It works fine with release distribution using the development provisioning profile. I have checked again the ad hoc provisioning profile to make sure it includes the device I am using.

© Stack Overflow or respective owner

Related posts about xcode

Related posts about provisioning