Alert:"Xcode needs to take control of another process"

Every time if I lunch a Playground in Xcode after a restart of my Mac this message appears:

"Xcode needs to take control of another process for debugging to continue. Type your password to allow this."


After verification I can go on working - but is there a way to allow this for all the time?

It's a bit annoying to type your passwort every time.


Thanks!

Accepted Reply

In this context “$” is meant to stand in for the shell prompt. So if I write:

$ who am i
quinn    ttys004  Aug 16 10:00

then:

  • “$” represents the shell prompt you get when you open a Terminal window [1]

  • “who am i” is what you type in, that is, the name of command-line tool (“who”) followed by its arguments (“am i”)

  • “quinn ttys004 Aug 16 10:00” is what’s printed by that command

Please use the above to retry the

DevToolsSecurity
test.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

[1] The actual prompt looks more like this:

Guy Smiley:~ quinn$

It shows the name of your machine (“Guy Smiley”), your current working directory (“~”) and your short user name (“quinn”). That’s kinda complex, and different for each user, so I generally shorten it to just “$”.

Replies

If you are running from a standard user account, has it been added to the _developer group?

I'm running from an admin account.

But unfortunately I have no idea how to submit this account to _developer group. :-)

But unfortunately I have no idea how to submit this account to

_developer
group. :-)

This is usually managed by Xcode itself, but you can do this manually using the

DevToolsSecurity
tool.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thank you!

Sorry if I fed up the obvious... but where do I find this tool? I only see "Instruments", "Simulator", "Accesbility Inspector", "File Merge" and "Application Loader". (If this is the right place)

It is in general required if I'm using an admin account?

Sorry if I fed up the obvious

No, I must apologise for not being clear. I should have said “

DevToolsSecurity
command-line tool”. It’s something you run from Terminal. For example, on my main Mac I see this:
$ DevToolsSecurity -status
Developer mode is currently enabled.

If you run it as follows, it will put up an authorisation dialog for enabling developer mode:

$ DevToolsSecurity -enable
Developer mode is now enabled.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thank's but unfotunately this does not work.

If I type this command into a new command line it always returns with "[Command not found: $]" "[Not able to create a new task and open a Pseudo-TTY]"

But the space between "$" and "DevToolsSecurity" is right? Also with copy paste it doesn't run...

In this context “$” is meant to stand in for the shell prompt. So if I write:

$ who am i
quinn    ttys004  Aug 16 10:00

then:

  • “$” represents the shell prompt you get when you open a Terminal window [1]

  • “who am i” is what you type in, that is, the name of command-line tool (“who”) followed by its arguments (“am i”)

  • “quinn ttys004 Aug 16 10:00” is what’s printed by that command

Please use the above to retry the

DevToolsSecurity
test.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

[1] The actual prompt looks more like this:

Guy Smiley:~ quinn$

It shows the name of your machine (“Guy Smiley”), your current working directory (“~”) and your short user name (“quinn”). That’s kinda complex, and different for each user, so I generally shorten it to just “$”.

Thank you, eskimo!

Now it works for me!


Because you're Apple Staff:

Maybe you know an aswer to this question: https://forums.developer.apple.com/thread/107233?q=Xcode%20creates%20big%20folder%20in*. (Seems like it is a little big difficult to know that...)