Skip to content

Instantly share code, notes, and snippets.

@englishm
Forked from cdata/xcodeinstaller.sh
Created October 18, 2013 15:23
Show Gist options
  • Save englishm/7043181 to your computer and use it in GitHub Desktop.
Save englishm/7043181 to your computer and use it in GitHub Desktop.
// Current caveat: requires manual login to Apple Developer Center...
wget --no-check-certificate http://adcdownload.apple.com/ios/ios_sdk_4.2__final/xcode_3.2.5_and_ios_sdk_4.2_final.dmg -o ~/.xcode.dmg
hdiutil attach ~/.xcode.dmg
cd /Volumes/xcode
installer -pkg ./XcodeTools.mpkg -target /
hdiutil detach /Volumes/xcode
rm ~/.xcode.dmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment