Thank you so much for your response endecotp. I think you are absolutely right about certificates and they cannot be used for authentication. I tried the way you told me but several headers like acn01, atsvric and dssid2 were missing from my cookies in browser. Eventually, I got the same error. I guess the way I am trying to automate the installation process is wrong and I need to download the required version of Xcode, have it saved on ftp server and then make all my machines to it and download. The downside of this approach is that Xcode itself is very heavy(about 9GB) so it will require several hours to download from another server to the target machines, which may not be the best way.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: