The following steps works for me!
1.open "key chain" app
2.select login and search "xcode"
3.delete "com.apple.gs.xcode.auth.com.apple.account.AppleIDAuthentication.token"
then login success!
Wish that can help you all.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: