Dev Juice: Help me use less hard drive space for Xcode
Dear Dev Juice,
I have a small SSD drive on my iMac. Got some tips on how to offload Xcode to my USB drive instead?
You can install some but not all of Xcode to a secondary drive. You'll still end up using about half a gigabyte, but that's a sight better than the multiple gigabytes you'd normally occupy.
On the Custom Install Screen (right after you agree to become a centipad), set your install location to Other using the folder pop-up. Navigate to your USB and "Choose" a folder there.
After installing, there's more you can do to save room.
Open Xcode Preferences > Locations and set your Derived Data, Snapshots, and Archives folders to live off your primary drive. You'll also want to move your documentation (which can take many GB all by itself) as well.
Open any class reference in the Organizer, and then right-click > Open Page in Browser. Allow the page to open. Its file:// URL will show you where your documentation is currently stored (normally in /Library/Developer/Documentation). Use symbolic links to move that material to the USB drive.
There are more tweaks you can do (move your simulator home, mess with ~/Library/Developer as well as /Library/Developer) but they tend to produce fewer gigabytes for greater effort, so aren't recommended.
Subscribe to Newsletter
Software Updatesmore updates
- Apple Remote Desktop updated with Yosemite support
- OS X Yosemite 10.10.2, iOS 8.1.3 updates now available
- Sports Illustrated 120 SPORTS channel comes to Apple TV
- Logic Pro X update brings AirDrop support, new effects, tools, and more
- Parallels Access 2.5 released, adds file manager, computer-to-computer remote access
- The Google Translate iOS app is about to get a lot smarter