Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Xcode developer help

I am a maintained account (non-admin) working in Xcode and i can execute all types of file (iPhone or Mac) with ease, but when i work on a command line code and execute it, it will ask for an admin password. The command line code is VERY basic, just saying stuff on the screen and not editing any (system) files, why is this and how can i prevent it?

iMac Late 2009, Mac OS X (10.6.4), iMac, iPod Touch 2nd Generation w/ OS 3.1.3, iPod Nano 3rd Generation,

Posted on Nov 20, 2010 8:13 AM

Reply
16 replies

Nov 20, 2010 9:33 AM in response to appleaka

There are several ways to add your user to the *Developer Tools* group. You can use System Preferences > Accounts, a utility such as TinkerTool System, or a Terminal command - I haven't used this method, but it is mentioned in several places (for example the Xcode-users mailing list)

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

Nov 20, 2010 10:07 AM in response to red_menace

I think if appleaka could run "sudo", this wouldn't be a problem 🙂

You will have to ask whomever administers your network to add you to that group. As a developer, you really should have admin access to your own machine. That is standard corporate policy at most places, including the very restrictive places that I have worked in.

Jan 27, 2012 12:44 PM in response to red_menace

Unfortunately adding over 300 constantly changing users to almost 300 machines isn't an option for me.

Instead of adding users to _lpadmin, I can change /etc/cups/cupsd.conf to give mere mortals the power

to unpause a printer. If there isn't anything that I can change in my image to make it work including file

perms, is there something I can do in Workgroup Manager using an AD group to populate _developer?

Jun 25, 2013 3:22 PM in response to Questor

Bumping this response as I'm in the same boat. I have an instructor that wants to teach XCode, but it keeps asking for an admin password. My knee jerk reaction is to create an AD group and give them to run Xcode as an admin.


So much easier, and quicker to create an AD group . . . . she teaches in several classrooms and I just don't plain have the time to manually enter 20+ users on all those machines.


Anyone done the above and can live to tell the tale 🙂

Aug 28, 2015 7:39 AM in response to RockabillyJoe

I am also facing this issue with Xcode 6.x installed in public labs at university. I have no idea who may want to run and use Xcode in the labs, so have no 'list' to even add to the Developers Group on my master image, or to an AD group (which wouldn't be allowed by the AD admins anyway).


Open to any other suggestions or workarounds anyone may have found.


Cheryl

Xcode developer help

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.