Xcode asking username & password every time I compile to device
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.
In Xcode 7.1
, I didn't find Login so I have given access to Xcode
and codesign
for the certificate key by following steps:
- Open Key Chain
- Go to Certificate under System
- Click on closure, right click on private key and select 'Get Info'
- Click on 'Access Control' tab
- Add
Xcode
andcoding
under 'Always allow access by these applications:'
It solves my problem.