Thank you so much for your response endecotp. I tried without certificates but got the same error. Here is how I tried but used cookies from google chrome instead of safari. Is there difference?
wget https://download.developer.apple.com/Developer_Tools/Xcode_13.3.1/Xcode_13.3.1.xip --load-cookies=cookies.txt
I created signing certificates that should have worked for logging to developer.apple.com - https://developer.apple.com/support/certificates
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: