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 suggested by @Stacy Simpson:
We are struggling with the issue described in these threads and none of the resolutions seem to work:
As I'm new to SO, I cannot post in either thread. (The first one is actually closed and I disagree with the localization reasoning...)
Anyway, we created a work-around using AppleScript that folks may be interested in. The script below should be executed asynchronously prior to launching your automated test:
Here is the script:
Probably not very secure, but it's the best work-around we've come up with to allow tests to run without requiring user intervention.
Hopefully, I can get enough points to post the answer; or, someone can unprotect this question. Regards.
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:Here is a better solution from
Mac OS X wants to use system keychain when compiling the project
Finally, I was able to get rid of it using
DevToolsSecurity -enable
on Terminal. Thanks to @joar_at_work!FYI: I'm on Xcode 4.3, and pressed the disable button when it launched for the first time, don't ask why, just assume my dog made me do it :)