Xcode development from non-admin user
When you run an Xcode project from a standard (i.e., non-admin) user, you might be asked to enter credentials of a user in the “Developer Tools group.”
You can fix this by adding the (current) user to the group:
sudo dscl . append /Groups/_developer GroupMembership <current user's username>
You can learn more about dscl (Directory Service command line utility) here.