I recently upgraded to 10.7.3, and when I try to debug my iOS project in the simulator for the first time after logging in, I'm prompted with the following two alerts:
My user is an admin user. I never saw these alerts before. How do I get them to stop?
EDIT
I've verified that I'm a member of the _developer
group using id -a
.
There's a much simpler solution for this. Try running the following command:
no need code. no need reinstall xcode. Do these steps:
1.close xcode.
2.open Keychain access.
3.double click your Keychain(the key icon which create from keychain.p12)
4.go to access control panel(name maybe not right)
5.enable all app access this.
6.save.
7.run your xcode project.
8.it works well.
enable develoer mode: In Terminal run this: DevToolsSecurity -enable
I had same issue with my mac 10.12.5 & Xcode9 Run this command :
Then enter your password.. Check if it still prompt you. Good luck..
Per Zev Eisenberg's answer, reinstalling Xcode 4.2.1 worked. However, it might be easier to just patch the
/etc/authorization
file with the following diff.I modified the rule for
system.privilege.taskport
and the alert doesn't show up anymore./etc/authorization
.system.privilege.taskport
. Under the line<key>class</key>
, change<string>rule</string>
to<string>allow</string>