Re: Stupid Debugger Error in Xcode when trying to debug app on iPad!
Re: Stupid Debugger Error in Xcode when trying to debug app on iPad!
- Subject: Re: Stupid Debugger Error in Xcode when trying to debug app on iPad!
- From: Fritz Anderson <email@hidden>
- Date: Thu, 18 Aug 2011 07:50:18 -0500
On 18 Aug 2011, at 1:08 AM, Laurent Daudelin wrote:
> I'm not sure what is wrong with the latest Xcode (4.1) but after getting use to the complete overhaul of the UI, the keyboard shortcuts and everything else, now when I try to debug my app on real iPad, the debugger launches, the app appears for 2 or 3 seconds, then exits and the stupid debugger displays the oh so informative message:
>
> "Error launching remote program: failed to get the task for process 83."
>
> Of course, it doesn't say why it failed to get the task for process. I can run the app just fine if I launch it on the iPad but that's not what I want to do, I want to debug it on the iPad.
>
> I did google but found very old references of this error when people mistakenly added entitlements. Some fixed their problem by recreating a new provisioning profile but I fail to see how this would prevent the debugger from running the task if I can run the app without any problem.
>
> So, any wisdom or idea on why Xcode has suddenly decided to be stubborn?
Here is the next thing I would try; I'm working off the top of my head, and I don't know whether it will work.
• Create a new entitlements file; give it a unique name like DebugEntitlements.plist. There's a template for this in the New File assistant.
• Add the key Can Be Debugged (get-task-allow is the literal key) and check it (set to true).
• In Build Settings, search for Entitlement, and for the Debug configuration, set the name of DebugEntitlements.plist (or whatever).
My advice doesn't cover why the behavior changed, and I'm not sure of side effects (if any), but as I say, it's the next thing I'd try.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden