11

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.

Kwexi
  • 1,013
  • 10
  • 17

3 Answers3

18

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

  • my problem with code signing was that I was selecting the wrong one at the last step of exporting the code (NOT in the build settings page) – owen gerig Jul 12 '12 at 16:42
3

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

RedBlueThing
  • 42,006
  • 17
  • 96
  • 122
0

Try this if you are fake Code Signing

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

Ifti
  • 77
  • 11