Search code examples
xcode4

After a reboot, first debug session requires me to grant permissions to Apple Developer Tools


Unfortunately, I often find I need to reboot to wipe some unhealthy Xcode state. Here is my issue: after a reboot, and finally being able to restart Xcode 4.1.1 (see here), the first time I try to run with debug, I get a Lion prompt window requiring me to grant Apple Developer Tools permission to take control of another process.

enter image description here

Is this a known issue, or something specific to my installation? Are there any workarounds?


Solution

  • After months of looking for this:

    as administrator do:

    /usr/sbin/DevToolsSecurity -enable

    /usr/sbin/dseditgroup -o edit -t group -a staff _developer