I am asked to type in the system admin user name and password when I compile my Xcode project. The whole message is
Mac OS X wants to make changes. Ty
It seems that Xcode not refresh the team selection so selecting it again from the general tab of the targets solved it.