Xcode asking username & password every time I compile to device

edwinjomathew picture edwinjomathew · Mar 16, 2012 · Viewed 25.6k times · Source

I use an admin account for the development. But every time I compile to a device Xcode is asking for admin username & password. I googled the issue. But none of the solutions worked. I tried the workarounds from this post, but it didn't work

Authorize a non-admin developer in Xcode / Mac OS

I also tried disabling and enabling the DevSecurityTools but it didn't work. I am using Xcode 4.3.1 installed on Mac OSX Lion 10.7.3.

Is there any way to fix this?

Answer

Brijesh Vadukia picture Brijesh Vadukia · Jun 12, 2012

For solution go to Keychain Access, and in the top left navigation, move your Developer certificate from "System" to "Login".

Actually problem is Developer certificate is under "System", and it is locked every-time, so it will require a password to unlock, whereas when certificate is in "Login" section it will resolve that.