iPhone Debugging Error launching remote program: failed to get the task for process 907

Pinky picture Pinky · Feb 2, 2010 · Viewed 14.1k times · Source

Created an app for adhoc distribution and installed on iphone but it is not working on the installed iphone,Tried connecting the iphone to mac and debug the app but it throws up error stating

" Error launching remote program: failed to get the task for process 907."

is there a way to debug the adhoc distribution provision file from xcode

Answer

David Maymudes picture David Maymudes · Feb 2, 2010

No, you can't debug an AdHoc build in XCode--setting get-task-allow to FALSE in your Entitlements.plist basically says "don't allow the debugger to connect to this", and is required for AdHoc and AppStore builds.

See

What does get-task-allow do in Xcode?

or the documentation...