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 l开发者_StackOverflow中文版oad onto the device though and works fine if I launch it from there. Yes, 'Can be debugged' is set to NO in Entitlements.plist.
Usually it wont load while with ad hoc profile .You need to debug and can debug only with development profile.
You can't debug apps signed with the distribution (even adhoc) provisioning profile.
Try this if you are fake Code Signing
http://www.youtube.com/watch?v=AqDVXh2S1P0
精彩评论