Skip to Content

Dear Aunt TUAW: Installing new betas borks my production Xcode

Dear Aunt TUAW,

Every time I install a new Xcode beta these days, it kills my production Xcode and I can't submit to App Store. What gives? I thought you said that Xcode installs could live side-by-side in separate folders!

Your loving nephew,

Scott McA.

Dear Scott,

Although you can use separate folders for each installation of Apple's IDE, many of the tools used to create and submit packages live in the /usr/bin directory. And, when it comes to a shared folder like /usr/bin, the rule is last-installed-wins -- your subsequent Xcode installation will overwrite the older versions of the tools in that folder.

To get around this you can disable the UNIX Development install option on the "Installation Type" screen of the Xcode installer. This option, which is enabled by default, adds command-line development tools onto the shared install volume. Unselect it during your beta install, and you should be able to skip the development tools re-install when you use the older Xcode version.

Auntie adds that qualifying 'should' because a good fresh install of a release Xcode almost always fixes any problems left around by a beta install, even if you pick all the right options while installing.

Hugs and good luck,

Auntie T.



Categories

Developer

Dear Aunt TUAW, Every time I install a new Xcode beta these days, it kills my production Xcode and I can't submit to App Store. What...
 

Add a Comment

*0 / 3000 Character Maximum Comment Moderation Enabled. Your comment will appear after it is cleared by an editor.

2 Comments

Filter by:
thelee

a good step apple should do is install the UNIX development tools to a local folder, specific to the xcode build, and simply symlink the appropriate files in /usr/bin to the latest install.

that way, each specific xcode is effectively sandboxed (for issues like this), but for command-line unix hacking, you're always pulling in the most recent installed binaries.

June 20 2011 at 5:35 PM Report abuse rate up rate down Reply
djgigante

That post was like Greek to me. Oh well, back to Windows and my blue screens.

June 20 2011 at 4:49 PM Report abuse rate up rate down Reply
Buy an ad here

Tweets

© 2012 AOL Inc. All Rights Reserved.