Sunday, October 16, 2011

Downloading iOS SDK from command line through wget

1. Install Export Cookies Extension for Firefox.
2. Login to iOS Dev Center and start downloading the file, after a
while cancel the download.(from the Downloads Window, get the download
URL)
3. Export cookies to cookies.txt
4. Upload cookies.txt to the server where you want to use wget.
5. Login to your server and :
wget -U firefox -ct 0 --timeout=60 --waitretry=60 --load-cookies
cookies.txt -c <download_url>
6. My download URL :
http://adcdownload.apple.com/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg
7. This file is roughly 4 GB in size !

No comments:

Blog Archive