Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone SDK- Error from Debugger: The program being debugged is not being run

Tags:

xcode

iphone

I followed the exact instructions on iPhone SDK Developers Portal by launching Assistant found on the first page.

But I still get the same error even though I deleted the provisioning profile, certificates many times and repeated the same process more than once.

Please help.

like image 831
zerlphr Avatar asked Jan 10 '10 14:01

zerlphr


3 Answers

If you have previously used them... check NSDebugEnabled, NSZombieEnabled, MallocStackLogging and MallocStackLoggingCompact are all disabled in the Executable info Argument's panel. You can't run with these on a device.

like image 59
Ross Avatar answered Sep 28 '22 02:09

Ross


It can happen if you build using an ad-hoc provisioning profile. If you followed the steps from Building your Application with Xcode for Distribution, you're building with a special Entitlements.plist, in which you disallow get-task-allow - this prevents the debugger from connecting to the application.

Try building with another provisioning profile (e.g. a Development profile).

like image 20
Adam Woś Avatar answered Sep 28 '22 02:09

Adam Woś


Restart both the device and Xcode - this normally clears it up for me

like image 38
James Avatar answered Sep 28 '22 02:09

James