Update: Finally I reinstalled everything without the ID and is working just fine, I'll use my personal Apple ID to download Xcode and I'm never going to create a new one again.. Thank you so much for your comments!
I thought there was a quick, scriptable command-line method of downloading xcode:
xcode-select --installPD: Apple, fix this anyway please.