On 3/22/12, Chris Hanson <c...@me.com> wrote: > On Mar 22, 2012, at 11:24 AM, Eric Wing wrote: > >>> Correct. Note that when setting the path, you can get away with just >>> pointing to the copy of Xcode that you'd like to bless: >>> >>> sudo xcode-select -switch /Applications/Xcode.app >> >> Interesting, but as a courtesy note to everybody, those of us who >> write and use 3rd party tools that depend on xcode-select that are not >> from Apple, this variation may not work since the underlying internal >> layout of Xcode using /Applications/Xcode.app/Contents/Developer >> mostly mimics the old /Developer root and these tools probably haven't >> been updated to work with two different variations of the path. > > Actually, when you point OS X 10.7.3’s xcode-select at Xcode.app, it will > record the path as /Applications/Xcode.app/Contents/Developer because that’s > what external tools will expect. > > There is a known issue with xcode-select though: If you install or upgrade > to OS X 10.7.3, and then install Xcode 4.2.1 or earlier along with its UNIX > Development package (which is enabled by default), doing so will replace the > OS X 10.7.3 version of xcode-select with Xcode 4.2.1’s or earlier. For that > version of xcode-select, you really will need to pass it the path to the > Developer directory and not just Xcode.app. > > -- Chris > >
Thanks for the info. You saved me a bunch of time having to worry about /Applications/Xcode.app being set. It's very nice that xcode-select corrects that for you. Thanks, Eric -- Beginning iPhone Games Development http://playcontrol.net/iphonegamebook/ _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com