Error starting remote program: failed to complete task for process on xcode 4.2

I'm having problems debugging apps right on my iphone. I use xcode 4.2 and jailbroken ios 5.0.1, and when I try to run the application on my iphone from excode, I get the following message: "Error starting remote program: could not get the task for the process (some are here)" But if I try to use the application now right on the iphone, it works great. Does anyone know how to fix this? thanks.

+1
source share
1 answer

For xcode 4: you must create the Entitlements.plist file from menu-> File-> New-> New File-> Signature Codes-> Entitlemens. it will create Entitlements.Plist in your application folder

and Targets-> build Settings-> Code Signing Entitlements, you double-click here and write "Entitlements.plist"

I did this and xcode didn't get any more errors

+2
source

All Articles