问题
I'm having some problems debugging apps directly on my iphone. I'm using xcode 4.2 and a jailbroken ios 5.0.1 device and when trying to launch the app on my iphone from excode I get the following message: "Error launching remote program: failed to get the task for process (some number here)" But if I now try to use the app directly on the iphone it works perfectly. Does anyone know how to fix it? thank you.
回答1:
For xcode 4: you have to create Entitlements.plist file from menu->File->New->New File->Code Signing->Entitlemens. it is going to be create Entitlements.Plist in your application folder
and Targets->build Settings->Code Signing Entitlements, you have click here two time and write "Entitlements.plist"
I did this and xcode don not get anymore error
来源:https://stackoverflow.com/questions/8777080/error-launching-remote-program-failed-to-get-the-task-for-process-on-xcode-4-2