I use Mac OS: 10.9.2. When I update Xcode to 5.1.1 the App Store ask the apple ID. I had log out the current apple ID and login my account but it also ask pass word of the old apple ID(I can not click into the field Apple ID to change the name). Please help me to change apple id or delete the old.
Edit
Finally, I can resolved this. I move to trash all the versions of Xcode which I have in Application. Then go to App Store to install new version of Xcode with my Apple ID.
This happens because the app was downloaded using another Apple ID and xcode is tied to that account.
Sign in into Mac App Store with “your current ID account” and check under Purchases menu, whether you have xcode.
Also check in System Preferences » App Store » What ID shows below “Automatic download apps purchased...”
If xcode is present under your current ID Purchases (grayed out saying INSTALLED), feel free to erase the app from your HD. An install button must be shown after and you can download and update the app again.
If the above doesn't work, you can get rid of the greyed out Apple ID email by making following selection
Applications » xcode (right click on Show Package Contents) » Contents » and delete the file inside “_MASReceipt” folder (do a backup before just in case)
.
xcode will still work, you must get rid of the grayed login name.This will work if xcode is already in your curent Apple ID