What Password is needed to run Xcode?

Solution 1:

Open system preferences and see if you can unlock a pane selecting the lock.

  • https://support.apple.com/en-us/HT203127 ๐Ÿ”’

That password is the one for admin access and itโ€™s the same password needed for Xcode to install additional components and get admin control to debug and package files.