One possible reason is the xcode was installed by another app id. Try to re-install xcode from app store using the new app id.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: