Authorize a non-admin developer in Xcode / Mac OS

Andrew Cain picture Andrew Cain · Dec 3, 2009 · Viewed 106.1k times · Source

I use a standard user account for my daily tasks on Mac OS. Since upgrading to Snow Leopard I am asked to do the following when a program is run from within Xcode:

"Type the name and password of a user in the 'Developer Tools' group to allow Developer Tools Access to make changes"

While I know the admin username/password, this is annoying (though only required once per login).

The developer tools access is asking for rights to "system.privilege.taskport.debug" from application gdb-i386-apple-darwin.

What is the best way around this?

Answer

Ned Deily picture Ned Deily · Dec 3, 2009

You need to add your OS X user name to the _developer group. See the posts in this thread for more information. The following command should do the trick:

sudo dscl . append /Groups/_developer GroupMembership <username>