11
votes

When I try to run my app on my device with ad hoc distribution profile from XCode 4, I get: Error launching remote program: failed to get the task for process 3595.

The app does load onto the device though and works fine if I launch it from there. Yes, 'Can be debugged' is set to NO in Entitlements.plist.

3

3 Answers

18
votes

Usually it wont load while with ad hoc profile .You need to debug and can debug only with development profile.

3
votes

You can't debug apps signed with the distribution (even adhoc) provisioning profile.

0
votes

Try this if you are fake Code Signing

http://www.youtube.com/watch?v=AqDVXh2S1P0