I have to say, installing Xcode 4 from the Mac App Store was one of the worst software installation experiences I’ve ever had.
Thwarted Expectations
For starters, the big appeal to me of downloading and installing stuff from the App Store is that I don’t have to manage it. All that management stuff is handled by the store itself. I make my purchase and the app installs correctly and in the proper spot. Not so with the Xcode install.
In fact, once you’ve clicked on the buy button in the store, had the $5 clams removed from your account and waited the half hour it takes for the 4.5 GB install to do its thing in your Dock, what you end up with is not Xcode installed on your system. No, instead what you get is an application called “Install Xcode,” which is essentially just a wrapper for the old-style installer you used to get for free.
Buying from the App Store in this case doesn’t seem to manage anything except Apple taking my $5 bucks, which was never a problem before because it was free. But wait, it gets worse.
Install Xcode.app
So I run this installer app — this Install Xcode.app — and it’s going okay. The inteface has the new Lion-style buttons and animations, which is at least entertaining, as well as usual stuff, license agreements and the like. Oddly, it even discovers my old install and tells me that it’s going to rename it — not upgrade it, rename it — to Developer-old. No choice here, that’s just what it’s going to do, just so ya know.
But then it fails, and not exactly gracefully. No, it fails ugly.
Um… What now? Consult /var/log huh? This is what I paid $5 bucks for? This is what you wrote an installer app for? Crappy error reporting? So you could tell me to “consult /var/log/install.log”? Not even open Console, but consult a log file in an invisible folder? Really? You think Joe Average App Store User will have any freaking idea what this means?
And isn’t this just the sort of thing the App Store is supposed to prevent?
Wherefore Failure?
So I open the lo file and this is what it says:
Mar 10 15:02:38 hassium runner[557]: Administrator authorization granted.
Mar 10 15:02:39 hassium installer[541]: Will use PK session
Mar 10 15:02:39 hassium installer[541]: Starting installation:
Mar 10 15:02:39 hassium installer[541]: Configuring volume "SysApps"
Mar 10 15:02:39 hassium installer[541]: Preparing disk for local booted install.
Mar 10 15:02:39 hassium installer[541]: Free space on "SysApps": 8.51 GB (8505917440 bytes).
Mar 10 15:02:39 hassium installer[541]: Create temporary directory "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-//Install.541PaUH12"
Mar 10 15:02:39 hassium installer[541]: IFPKInstallElement (40 packages)
Mar 10 15:02:39 hassium installer[541]: Failed install preflight: Error Domain=NSCocoaErrorDomain Code=640 UserInfo=0x103555a90 "You can’t save the file “Developer” because the volume “SysApps” is out of space."
Mar 10 15:02:39 hassium installer[541]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Yup, you guessed it. Out of disk space. Now, there’s a whole list of fucked-up here, so let me just take you through it.
- The Xcode Installer application failed because of a lack of disk space, but somehow can’t just say that.
- The traditional, old-style (and, ahem, free) installers will simply check disk space during preflight and tell you if you don’t have enough space right there in the installer, but this custom app that I paid for cannot.
- Nowhere on the App Store does it say that you will need 15 GBs — yes, fifteen or more gigabytes, if you count the Install Xcode app and it’s payload — of free disk space to install Xcode.
- The Install Xcode app itself is 4.5 GBs, which is a big part of the reason my disk is too full now for the install to complete.
- The traditional, old-style Xcode installer always used to offer customization options so you could preen certain Developer resources from the install to conserve space. Not everyone is an iPhone developer, for instance, and not installing the iOS SDK will actually save upwards of 8 GBs of disk space. But these options are no longer present in the custom-built Install Xcode app.
The fact is, there are at least a couple points at which this problem can and should have been detected. The most logical place would be at the app store itself — preferably before I ponied up the dough — where a simple declaration of disk space requirements would be exceptionally useful, particularly for an app and installer that together take up over 15 GBs of disk space. Instead we get this, which, if anything, seems to suggest that all you’ll need is 4.24 GBs of space.
It also would be lovely if the Install Xcode app could tell me all the same useful stuff as a regular installer. But then they’d have to charge $10 bucks, and who’s going to pay that for something they used to get for free.
The Fix
After all this I decided to see what was inside this Install Xcode app. I presumed that there would likely be a standard PKG or MPKG file that would allow me to install Xcode in the usual manner. Sure enough, that turned out to be the case.
Running that MPKG file, by the way, did, in fact, allow my to customize my install, had I wanted to go that route. (Though I would point out, it did not seem to want to upgrade my existing components as past installations of Xcode had. Take that info for what it’s worth.)
Instead, however, I decided to see things through with the Install Xcode app. So I copied it to another drive partition and erased it from my /Applications folder, which freed up enough disk space to complete the full install and ran the Install Xcode app from the secondary partition (happily, the Mac App Store still recognizes that I have installed Xcode on this system).
This time, success.
Finally!
Conclusion
So that’s my tale. In the case of Xcode, it seems clear to me that the only thing the App Store is really facilitating is payment, which was never an issue in the past because Xcode was blissfully free. Unfortunately, the overall experience of installing Xcode from the Mac App Store is more opaque and, if there is any sort of problem, far more difficult to fix. Given the lack of information provided by the App Store, it also seems far more likely that you will run into problems.
My conclusion: The Mac App Store is simply not well suited for complex application installs. It works great for drag-n-drop apps — self-contained applications that can simply be dropped into /Applications (or anywhere else for that matter). But for complex suites of applications, the Mac App Store doesn’t simplify, it complicates. And that ain’t right.
Finally, I don’t mind that Apple is charging a small fee for the Dev tools. I always thought it was pretty generous that they were free in the past, and $5 is still cheap enough to grab them casually. What I don’t particularly care for is paying five dollars for a singularly crappy installation experience. Those two things just don’t mix well.
UPDATE:
For folks just joining us in this saga, please note that there are some additional installments dealing with the recent Xcode updates, how they’re handled by App Store, and how to deal with them on space-constrained drives. Installment 2 deals with some general App Store issues I had. Installment 3 deals with the 4.0.5 update, which was the smoothest — though by no means perfect — so far.
Also, one reader points out that he was able to keep his file size down but still have success with updates by simply removing the .PKG files (found inside the .MPKG mentioned above) from Install Xcode.app. He also points out a very cool trick that will allow you stop an in-progress update: simply option-click the INSTALL/UPGRADE button and App Store will give you the option to cancel the update. Handy!







72 Comments
You know you could’ve just downloaded Xcode from any of the dev centers for free in a regular/old package?
Well, that’s what a colleague of mine did. I tried that, however, and it didn’t work. In fact, we sat, side by side and compared what we saw in our browsers: his said he could download it; mine said I needed to pay $99 dollars for a Mac or iOS developer account.
But that’s sort of my point. The once — and for some, still — free installer is better than the pay-for, managed, App Store version.
And that’s bad.
-systemsboy
As per my previous comment, Daring Fireball concurs:
http://daringfireball.net/linked/2011/03/09/xcode-mac-app-store
No more free Xcode unless you pay for a Dev account, though, if my colleague is any indication, there appear to be some holdouts and inconsistencies.
-systemsboy
I do have a paid account so I can’t tell if it is required or not.
Never the less the App Store install app is just crazy! Apple created a store that limits themselves
I had a similar amount of fun. I ended up just deleting the Developer directory but then it wouldn’t finish the install hours after the install log had indicated it was done. Ended up running the full uninstall script, rebooting and reinstalling it successfully that time. I was hopeful that this meant that updates would automatically apply themselves without my significant intervention and this doesn’t appear to be the case
I don’t mind paying $5 for some dev tools, a shame it isn’t free because there are many who won’t want to do that though. My question is if they continue to ship it for free with new Macs or not.
If I hadn’t found your page I’d still be knee deep in this. Sounds stupid now, but I didn’t find the “Install Xcode” app. I was looking for Xcode, which is what I paid for. I didn’t buy anything called Install Xcode. What was more frustrating was I tried to access the developer forum to see if there were any hints, and they wanted me to pay $99 to get in. $99 to get a $5 app to work!!
Apple used to be the kings of the user interface – hope this isn’t a sign of things to come.
I too struggled far longer, and in my opinion, needlessly to install Xcode 4. Yes, I was a free dev acct users and enjoyed updating Xcode that way; but, like iTools “free email for life” slogan that died with .Mac, I mean MobileMe, free Xcode is gone as well. So, $4.99 is not too bad if the installer actually does what it is suppose to do.
Now, what do I do with the 4.59 GB “Install Xcode.app” sitting in my Applications folder taking up space after installing Xcode into the Developer folder? (Of course, I compared the Developer and Developer-Old folders and found several things obviously missing but hopefully accessible through new interfaces). But the question remains…can I trash the 4.59 GB “Install Xcode” app after my wonderful Mac App Store experience?
Many thanks.
Well, in theory you should be able to re-download the installer from the App Store any time, so you should be able to delete it.
So now I’m thinking about this, and I don’t understand why they don’t just let you pay 5 bucks to download the old-style installer. What’s with this application wrapped around an installer business? It does the exact same thing, but less competently.
I think I would’ve been less annoyed had they just given me the tried and true old installer from the App Store. It works much better than the wrapper app, and as far as I can tell, the wrapper app doesn’t add a thing.
-systemsboy
I’ve been stuck at downloading Xcode 4 for quite a few days now, it stops at ~2.2GB and then fails. The support offered a refund, but I just want the darn thing to download.
Did you file a bug with Apple about this? They may not know about the issue.
Thank you for this blog. Running the Install Xcode 4 cured my problem. I agree that Apple stuffed this one up; let’s hope they fix it soon.
How did you find the var/log/install.log? Spotlight can’t find the file or these folders? Also how did you get inside the app file to find the mpkg?
Right, those are great questions.
I looked at the /var/log/install.log via the Console application, which can be found in /Applications/Utilities. Make sure you hit View->Show Log Files, then dig down into the /private/var/log section in the lefthand sidebar.
To get the MPKG, right-click (control-click) the Install Xcode application that you downloaded from the App Store and choose “Show Package Contents” from the contextual menu. Then drill down into Contents/Resources. Inside this folder you should see “Xcode and iOS SDK.mpkg.” That’s the actual installer.
This is exactly why it’s so untenable that Apple has made an installer with such terrible error reporting and distributed it via the App Store. Most users — and particularly those who the App Store is meant to cater to — don’t know the first thing about /var/log. Nor should they. The very purpose of the App Store is to simplify app installation. Any error message that cites /var/log — something only SysAdmins should ever be aware of — simply has no place in the App Store.
-systemsboy
Thanks – your article and answers were a big help. Wow what big mistakes they made not specifying how much space is needed, not to mention all the install problems I’ve had along with others. My install, after I cleared enough stuff off my drive to allow at least 10GB space, would instantly turn off my computer once it was almost done installing. This happened every time until I looked for xcode.app in the Developer/Apps folder. It appears to be working although I haven’t really done much of anything yet. Thanks again for your help!
This is not the end of the suffer. I installed from AppStore, got charged, and I don’t even have the installer downloaded. I went to Apple website to download manually and it says I don’t have privileges although I pay the dev membership. There are two links for more info and both are broken. Good job Apples, really shameful of you.
What a pain. Mine is saying that the iphone 4 .pkg is corrupt.
i’ve only had this mbp for a month and it installed like a super champ, i did it over a cable and not wifi, and had no problemo’s – i am not going to get the ios developer 99 buck package until i can actually create something- so the 5 dollar version was perfect for me. are all apple fan boys such whiners?
We expect perfection.
Watch the snark. It’s not appreciated.
http://systemsboy.com/2001/07/policy.html
-systemsboy
Make sure you don’t have XCode 3.x open while installed 4.
XCode 4 also failed to install from the App Store. In the Console there was a cryptic message about a mismatched architecture file. I realized I had XCode 3 open, so I quit it and restarted the install, and it worked.
Ah! Good to know. Thanks!
-systemsboy
I’m going to see if I can delete the package contents of the installer app once it’s done installing… I don’t need to keep the 5GB around but I want to be able to get notified of updates via the appstore.
So if I can technically keep a “shell” of the app I should still get notified right?
Great idea. Let me know if it works out.
Seems like it should.
-systemsboy
I think it did… I found a folder in the resources folder called packages… in there there were a bunch of .pkg that installed a ton of stuff and took up 4GB.
I deleted them, seems to have worked fine…
Though I did have an update just started (only a couple KB in) so when I look at the purchased list it shows resume instead of installed, but I don’t see why it wouldn’t work.
That’s great! Hope it works out. Keep me posted.
-systemsboy
Okay… do you know of a way to reset the xcode update?
Only way I know of offhand is to reinstall an older version or, perhaps, delete the existing one.
-systemsboy
Got it… if you hold option the update/resume button changes to cancel.
After I did that it still shows as if it needs to be updated.
So this works. After you install the xcode update you cans imply delete the apps pckg contents to remove the unecessary bloat.
Would be nice if it did this automatically but it suits me fine….
Awesome! Well done!
-systemsboy
Hope you add it to the post for others to find…
you are one of the top searches if you google this topic.
Well, the comments are part of the post and should be just as searchable.
Nevertheless, as I’ve posted some additional info on this subject, and since the topic seems to garnering a lot of feedback, I will update the post.
-systemsboy
This blog post was a lifesaver, thanks a million! I fortunately could clean enough crap off my disk to make room, but the install error was mysterious at best. Looks like the 64GB SSD wasn’t the best idea after all.
Although admittedly most of the user-base running Xcode could be assumed to know about /var/log, it still took me far too much head-scratching before I checked Console and realised I hadn’t enough space. I didn’t even get an error message, I just got a pulsing progress bar ad infinitum until I worked out that was probably not what was supposed to happen.
Oh, and for anyone who hasn’t Googled this already, you can remove Xcode 3 by entering this into a terminal, thereby saving about 5GB of space:
sudo /Developer-old/Library/uninstall-devtools –mode=all
Now I just need to wrangle the updates.
Excellent suggestion. Thanks, UppityTeapot.
-systemsboy
Is there a reason I am not able to find this app, like anywhere? I have searched for it for an hour now.
Do you mean you can’t find a place to download Xcode, or you can’t find the Install Xcode.app on your computer?
Either way, just open the App Store application on your Mac and search for Xcode. Installing Xcode from the App Store will install an application called Install Xcode.app in your Applications folder.
Wow. Just reading back that last paragraph makes me realize how user-unfriendly this installation process is.
-systemsboy
I am basically trying to get this app solely for my Ipad. Here is a video that explains why I am trying to get it. (It’s just the part about Xcode, not the whole video.)
http://www.hulu.com/watch/244052/attack-of-the-show-best-of-may-21-2011?c=1378:1425
After looking into this a little further I am starting to realize that my problem is that I don’t have a mac.
(Actually, I probably should of got that just from watching that video, they pretty much say it clear as day; ) I was under the assumption that it was in the iTunes store.
So I guess a better question would be; Do you happen to know of any way/trick to get this app or even just a way to accomplish what was demonstrated in the video via pc?
BTW: I really appreciate the quick feedback on my previous post systemboy.
- Ӝ
Nope. These are Mac application development tools. They will only run in Mac OS X.
-systemsboy
Nevermind, I found a hack app that does the same thing, you just have to keep it running in the background on your iPad. Thanks for the help though systemsboy!
- Ӝ
After spending 1 1/2 hours with Apple Care, and exchanging email with itunes tech support, I went to the Apple Store to have a “genius” work on the problem. There someone ran the Disk Utility, and performed “Repair Disk Permissions”. I had never got past 1.5GB before, but between this and a faster network than I otherwise have available, I got to 2GB. I ran out of time, but finished the download with a friend’s fast Internet connection. Before this experience, I had never been able to resume the download, but was able to this time.
Your results may vary, but it’s worth a try.
I just had the same out of disk space issue. I’ve only had a mac for a few days and it was the closest experience to using windows that I’d had so far.
Thanks for the article, helped me get it sorted quick.
I had the exact same experience. What a cluster cuss!
Actually now my bigger problem is trying to clean out my first failed install. It filled up my disk and left it all there. What a joke!
you buy x code for $5 at the mac app store
This install process does feel a liiiittle bit rushed. Mine complained it couldn’t proceed because iTunes was running, even though it clearly wasn’t. The solution was to hunt down the iTunes Helper process and kill that off. And don’t get me started on the two “Install Xcode” apps I have knocking around that are eating up 8 GB of disk space. Only just realised they don’t get cleaned up, which is what brought me here. Need to look into that…
http://developer.apple.com/support/xcode/
- ah cool so I can happily nuke them as long as I don’t want to install the exact same version onto my single computer that I already have it on. Probably for the best: another few point releases of Xcode and I’m out of disk space…
Remove the “Install Xcode” this is rubbish.
Do not worry. This application isnt updated several times a day.
Thank you! I was able to get it installing! I linked to your site from the app store.
Seems xcode requires something between 5,8 and 9,0 GB of free space, if it helps anyone… For me “install xcode” failed with 5,8 GB of free space. Then I moved the install xcode.app to an external usb disk and after that, with 9 GB free on the system disk, the install seems to be successful.
You don’t happen to know how can I buy XCode 4 after having bought XCode 4.1? I get no such option and wanted to buy the 4.0 version to install on a 10.6.8 machine but I already bought the 4.1 version from a 10.7 machine and can’t get the option to buy the older version to use with Snow… Creating another appstore user will probably do the trick but I’m trying to stay away from managing 2 appstore accounts… :S
Never mind: I’m downloading the free 3.2.6 which is probably enough for the time being…
I totally agree with your comments regarding the installer. This is a complete abortion and is surprisingly un-Apple-like.
Thank you so much, I’ve almost gone crazy about the countless failure…
Hi I having a similar but slightly different problem.
I get the same error message telling me to check the log but the information on what has gone wrong is different, seems to be one of the packages is failing to install.
Here’s what the log said;
Sep 10 13:05:29 sean-murrays-computer-2 installd[3811]: PackageKit: Extracting file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/XcodeiPhonePlugins.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
Sep 10 13:05:37 sean-murrays-computer-2 installd[3811]: PackageKit: Executing script “./preinstall” in /private/tmp/PKInstallSandbox.jQSZTb/Scripts/com.apple.pkg.DeveloperToolsLeo.BX0oQp
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3840]: Running Install Scripts . . .
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3842]: Begin script: AlertAll.sh
Sep 10 13:05:39 sean-murrays-computer-2 installd[3811]: ./preinstall: sudo: unknown user: Sean
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3845]: End script: AlertAll.sh
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3846]: Begin script: preflight
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3849]: End script: preflight
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3850]: Begin script: writelocation
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3853]: End script: writelocation
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3854]: Begin script: zzzcleanup
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3858]: End script: zzzcleanup
Sep 10 13:05:39 sean-murrays-computer-2 _securityagent[3859]: 4 Install Scripts run.
Sep 10 13:06:20 sean-murrays-computer-2 installd[3811]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “DeveloperTools.pkg”.” UserInfo=0x7fe3ca22da60 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.} {
NSFilePath = “./preinstall”;
NSLocalizedDescription = “An error occurred while running scripts from the package \U201cDeveloperTools.pkg\U201d.”;
NSURL = “file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg”;
PKInstallPackageIdentifier = “com.apple.pkg.DeveloperToolsLeo”;
}
Any seems that there is something corrupt in one of the packages, I’ve deleted and re-downloaded the installer but still no luck. I have 65gb free on my HD so space shouldn’t be an issue
Yikes, Sean! That’s terrible. Can’t say I have any idea what’s going on there. I do notice that there is an “unknown user” error, though I can’t imagine why. You might try creating a new admin account and installing it from there.
Let me know if you figure out the problem and/or solution.
Best luck!
-systemsboy
Thank you so much for the tutorial. I had a project due at midnight on the same day I decided to install Xcode.. bad idea.. I was so frustrated bc I kept having the same issue.. again thank you!
This post was extremely helpful! I just had to clear up 12GB and the install worked, thanks so much for your help.
I am having trouble too–install seems to be consistently stopping at 49% (according to Console). I have over 300gb available on my main drive. I tried repairing disk permissions and that didn’t help. I also installed the same thing two days ago on a macbook (!!) and it worked just fine. I thought that, for whatever crazy reason–something in one of the console failed messages and the fact that the macbook is only occasionally connected to it’s TimeMachine drive, it might be that I had my TimeMachine drive connected so I tried ejecting that as well. still not working.
Wow, that’s too bad. Let us know when you figure out what the problem is.
-systemsboy
Hasn’t the platform just got so much better at ease of use since the MAS became the center of gravity?
Don’t we all just enjoy the fruits of this Great Leap Forward?
After all, that old cushioned UNIX model was so out of fashion…
Well, as long as it’s only crappy for developers, pros and power users, who cares?
-systemsboy
“Well, as long as it’s only crappy for developers, pros and power users, who cares?”
That’s the sad irony, ain’t it?
Only Steve-o could make the dream of NeXT come true for mere mortals. And only Steve-o could EOL that whole wonderful dream in exchange for the dream of adding an extra 1% to shareholder value.
Bring back John Sculley!
Just migrated from PCs to prevent this kind of thing. Many parts of Apple are crazily complex. Disappointed big time.
“Just migrated from PCs to prevent this kind of thing. Many parts of Apple are crazily complex. Disappointed big time.”
It was a very cool platform until about a year ago.
You are slightly too late to a decade-long party that’s been EOL’d.
So what do we do now, is the APP store legit for XCode users? I’m a beginner in the DEV world of Apple. There are alot of talented peolpe who have great ideas for the Apple App store, let Apple not, fall from Grace. Let the name of JOBs live on..
App Inventor for Android PERFECT !!
No need apple
It seems all the above is history. The new appstore purchse is Free. The installation is as painless as it gets now.
Well, it has been a year after all, since the posting of this article. I should hope by now the process has gotten better.
But just because the app is now free (which is kinda irksome in and of itself — why did I have to pay 5 bucks then?) doesn’t mean installation is now painless. Can you verify that the Xcode installer is handling exceptions (like low disk space and the like) better these days? I’d love to hear specific examples,
-systemsboy
Just installed XCode on a new upgrade from Snow Leopard (I know, I’m slow). The installation went flawlessly. No problems about having to download anything in addition to the 1.7 GB installer (no longer 4.5 GB). Once XCode launched, it had the option to remove previous versions (which it did without problems). I’m pretty happy with this installation package – it’s much less painful than all the previous ones (and I have SDKs from OS 2.2.1). Now we’ll see what happens when Mountain Lion comes out….
Great! Glad to hear the process is improving.
-systemsboy
In the end, where is XCode 4 intended to reside. After updating from iTunes it blew away my previous install and put the newer XCode in my Applications folder (not the typical Developer folder). Where is the correct place for XCode to be installed now?
Hm. Don’t know. I like the idea of Xcode residing in /Applications, but I haven’t installed on a clean system yet.
Anyone else out there know?
-systemsboy
Hmm, I tried to install XCode 4.3.2 today on OSX 10.7.3 through the app store and it failed horribly. The same “nice” way of reporting errors like in your original story still applies, I had to look in /var/log/install.log, only to find the following : “The package “DeveloperTools.pkg” is untrusted” followed by “The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED”. I ended up downloading the dmg file through my apple developer account, which worked flawlessly. The dmg file contained a single app file which I copied to /Applications as are all other applications. Why should XCode be any different and reside in a different directory ?