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: Laurent Daudelin <email@hidden>
- Date: Thu, 18 Aug 2011 08:42:42 -0700
On Aug 18, 2011, at 05:50, Fritz Anderson wrote:
> 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.
Thanks, Fritz, I'll give it a shot.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
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