View Full Version : Help - Password required to debug in XCode
sanPietro98
Oct 1, 2009, 03:39 PM
I just got my new Mac and I used Migration Assistant to transfer all my stuff over. I now get the (attached) dialog asking for my password when I try to "Build & Run" in XCode. Any ideas on how to make it stop asking? I never had this problem on the older Mac.
I'm running OSX 10.6, with XCode 3.2.
Thanks in advance for any help.
kainjow
Oct 1, 2009, 03:41 PM
You could try running a Repair Disk Permissions in Disk Utility.
sanPietro98
Oct 1, 2009, 03:42 PM
Thanks for the reply.
I tried that -- no change.
kainjow
Oct 1, 2009, 03:55 PM
I'm guessing a reinstall of Xcode would fix it.
sanPietro98
Oct 1, 2009, 04:00 PM
I'm guessing a reinstall of Xcode would fix it.
That's a good idea. I'll give that a try.
electroshock
Oct 3, 2009, 01:31 AM
Fire up Terminal.app. Then run this command:
id | grep -c _developer
Does it say 0 or does it say 1?
If it says 0, that may be your problem. Fix should be a matter of:
sudo dscl . append /Groups/_developer GroupMembership <your username>
It's sounding like Migration Assistant didn't merge your username into groups you were a member of on the old setup. Reinstallation of Xcode would also add you to the _developer group, fixing the issue -- but that's kinda like killing an ant with a megaton nuclear bomb. :D
Analog Kid
Oct 4, 2009, 06:39 AM
I just stumbled onto the same problem. Are you running as an administrator, or a standard user? I'm running as a standard user, which I'm guessing is causing the problem.
I've only seen that message once though, so maybe it's not so bad...
vishvesh
Oct 5, 2009, 06:17 AM
try doing chmod on the project folder
chmod -R 0777 $Folder_Path.
sanPietro98
Oct 5, 2009, 08:22 AM
I just stumbled onto the same problem. Are you running as an administrator, or a standard user? I'm running as a standard user, which I'm guessing is causing the problem.
I've only seen that message once though, so maybe it's not so bad...
I was running as a user with Admin privileges. I got the message the first time I tried to debug code after a boot-up. There is a "debug process" that gets started. Once that process started, it stayed up for the rest of the login session and didn't require the password anymore.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.