授权Xcode/Mac OS中的非管理员开发人员 [英] Authorize a non-admin developer in Xcode / Mac OS

查看:146
本文介绍了授权Xcode/Mac OS中的非管理员开发人员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac OS上的日常任务中使用标准用户帐户.自从升级到Snow Leopard之后,从Xcode中运行程序时,我被要求做以下事情:

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).

开发人员工具访问权限正在向应用程序gdb-i386-apple-darwin要求"system.privilege.taskport.debug"的权限.

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?

推荐答案

您需要将OS X用户名添加到_developer组.有关更多信息,请参见此线程中的帖子.以下命令可以解决问题:

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>

这篇关于授权Xcode/Mac OS中的非管理员开发人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆