DevJuice: Can I move Xcode off my main drive?

Dear Dev Juice,
Now that Xcode 4.3 is supposed to live in /Applications, can I move it off my main drive? I used to have it on my secondary, because I have a fast SSD as my primary.
Also, where are all the files located, like the simulator?
John

Dear John,
At over 3 GB, the new Xcode distro is big, but are you sure you really want to mess with the App Store management, which depends on apps residing in /Applications?
We gave offloading a try, moving Xcode onto an external USB disk and symbolically linking it into /Applications. It seemed to run fine and we had no problem creating, compiling and archiving apps. Not sure if this is a super-great idea, though, especially when upgrades come down the line.
Our wild guess is that at any upgrade, App Store could overwrite the symbolic link and you'll have to manually move it off the drive again.
As for the "files," I assume you're talking about the executables like iPhone Simulator.app (which can be found in /Applications/Xcode.app/Contents in the Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ subfolder) rather than the data files that are stored in /Users/youraccount/Library/Application Support/iPhone Simulator.
In /Applications/Xcode.app/Contents/Applications, you'll find some of your old favorites like Icon Composer and FileMerge. Utilities like git, gdb, and nm are now in the Contents Developer/usr/bin subfolder. Older items such as RezWack and SetFile have moved into the Developer/Tools subfolder.
Happy Developing!
Share
Source: http://tuaw.com/tag/xcode
Categories
Dear Dev Juice, Now that Xcode 4.3 is supposed to live in /Applications, can I move it off my main drive? I used to have it on my...
Add a Comment
third time is the charm?
Dear Auntie,
XCode 4.3 was released? Where was the TUAW article about this? -.-
Your nephew,
Nick
Applications purchased from the App Store WILL work and operate normally even from a secondary hard drive, no symbolic link is needed. For example, downloading "Install Mac OS X Lion" from the App Store places it within /Applications. You can move to your secondary hard drive, in /Volumes/Macintosh HD2/Applications/ for example. Whenever Apple releases an update to that installed (like the recent 10.7.3 release), App Store.app will use Spotlight to detect where it was moved and will subsequently update even on a different drive.
One quirk I've noticed, however, is that is assumes you are using the same drive, just a different directory. So if you place your .app into /Volumes/Macintosh HD2/Downloads for example, it will still update just fine but produce an empty Applications folder in the root of the secondary drive. ^_^
TL;DR To the asker of the original question; just move Xcode.app anywhere else and you're fine. But it's not that big; better to benefit from the SSD speeds. :)
App Store management doesn't appear "depend on apps residing in /Applications". I move all my 3rd-party app store apps to other folders to keep them organized, and App Store updates them just fine.
That said, Apple's own apps never updated themselves properly when you moved them out of /Applications, even before the App Store came along. So maybe they're still b0rked.
*doesn't appear to
February 20 2012 at 9:48 AM Report abuse Permalink rate up rate down ReplyDeals of the Day
more deals- Acoustic Research Digital Photo Frame with iPod Dock for $50 + free shipping
- Apple iPhone 4 8GB for Verizon, AT&T, or Sprint for $50 + pickup at Best Buy
- Unlocked iPhone 4S 16GB for GSM (AT&T, T-Mobile) for $619 + free shipping
- Apple iMac Core i7 Quad 3.4GHz 27" w/ 24GB RAM, 2TB HDD for $2,677 + $29 s&h
- Used Apple Magic Mouse for $36 + $4 s&h
- Skullcandy Riot Earbud Headphones for $10 + free shipping
4 Comments