I just had a similar issue and was able to fix following the steps below:
Go to your account in Xcode > Preferences > Accounts.
Add your credentials again.
Everything started working again.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: