"Error launching remote program: failed to get the task for process"
Q: Why am I getting "Error launching remote program: failed to get the task for process" when debugging an iPhone application on the device?
A: Why am I getting "Error launching remote program: failed to get the task for process" when debugging an iPhone application on the device?
You are getting the "Error launching remote program: failed to get the task for process" error message because you are either using your Ad Hoc or Distribution Provisioning profile when debugging your iPhone application on your device or you specified a code signing entitlements property list in your build settings which does not include a get-task-allow
or "Can be debugged" property.
Debugging when using a Distribution Profile
Distribution profiles don't have a get-task-allow
entitlement property, which is needed for debugging iPhone applications. However, this property is available and enabled for Development Provisioning profiles. So, use your Development profile rather than your Distribution profile when debugging your iPhone application on the device.
Missing Entitlement Property
If you specified a code signing entitlements property list in your build settings, make sure that your property list contains the get-task-allow
property.
Document Revision History
Date | Notes |
---|---|
2010-02-23 | New document that explains and describes how to resolve the "failed to get the task for process" error message. |
Copyright © 2010 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2010-02-23