Saturday, June 24, 2017

Can't download XCode using iGetter download manager

I can download XCode from the website https://developer.apple.com but we have to login first. It worked fine on my Chrome browser but not in iGetter. I copied the download URL from Chrome and used it in iGetter but when I clicked the Start button to download, iGetter downloaded index.html file instead.

The culprit is I'm using 3 users or 3 different sessions in Chrome browser. When you click the button to add a URL to download in iGetter, iGetter will use the cookie from the default browser. My default browser is Chrome so it should had worked. But since I was running 3 sessions or users in Chrome, iGetter didn't know which session of Chrome it should import the cookie from.

I fixed it by changing browser to Firefox because I had only one session or profile in Firefox. I logged into the Apple developer web site and downloaded the XCode then copied the download URL from Firefox and pasted it in iGetter. I then configured iGetter to get the cookie from Firefox instead. I configured it in the New URL dialogue box as shown in the image below.