Unfortunately, I had to answer my own question, Simple answer: NO, you cannot update xcode installed from another account. The solution is to remove the existing installation and reinstall it from the new account. To remove an existing installation, you need to remove it from the launchpad. You can do this by setting the xcode icon in the start panel, and long press on the icon until it starts to dance. Then delete it and wait a while until xcode.app is removed from / Application. If you manually remove xcode.app from / Application, the application store will continue to consider it installed and will not allow you to reinstall in the future.
The above solution assumes that you installed xcode from the Mac app store, usually versions later than 4.2. For earlier versions, simply delete the / Application / xcode folder.
suresh Nov 15 2018-12-12T00: 00Z
source share