Solved it, I had to reselect the apple account at Xcode settings to fix it.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: