One possible reason is that 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: