Re: Xcode 4.2 crashes after launch on 10.6.8 that also has Xcode 3.
Re: Xcode 4.2 crashes after launch on 10.6.8 that also has Xcode 3.
- Subject: Re: Xcode 4.2 crashes after launch on 10.6.8 that also has Xcode 3.
- From: Alex Zavatone <email@hidden>
- Date: Sat, 21 Jan 2012 23:35:22 -0600
On Jan 21, 2012, at 11:20 PM, Joar Wingfors wrote:
> Alex,
>
> I think it's quite the overstatement to say that you would be screwed. This is not something subtle that in the general case would be difficult to diagnose, or that would lead to crashes.
>
> Let me give you a bit of background:
>
> [1] We wanted to allow you to keep more than one copy of the developer tools installed at the same time. In order to make that happen, we removed the requirement that you had to keep your developer tools installed in /Developer.
> [2] In order for you to be able to invoke our command line utilities, such as "xcodebuild" without having to provide the full path to the particular copy that you wanted to invoke, we provide copies in /usr/bin.
> [3] xcode-select is the mechanism by which you can let us know which version of the developer tools that you would want to use when you invoke the command line tools that live in /usr/bin. Per default, this is set to /Developer.
>
> That's pretty straight forward, right? So what could go wrong?
What could go wrong? Well, I don't know. I haven't been around the IDE for long enough to know. There is information out there, but too much information out there.
> Let's say that you moved your /Developer to /SomethingElse. If you now try to open and build your projects in Xcode, everything would work just fine. Why? Because any app or tool that you invoke from a particular developer folder knows where it is installed, and knows how to locate any other tool that it depends on in that same developer folder. For this particular use case there would be no need to invoke xcode-select.
>
> But what if you try to use "xcodebuild" from /usr/bin? If you haven't updated the path to the selected developer folder, xcodebuild would ask you to do so when first invoked.
>
> I hope that clears things up a bit, and that this improves your confidence in moving things around. This should all be very robust, and is not based on any kind of magic.
>
> Joar
Now that I know, I know. Otherwise, it's just guessing off other people's advice on teh intarwebs. I take it you were on the Xcode team at some point?
But even if it's not magic, if you don't know the underlying mechanism and why it does what it does, it just as well might be.
Thanks for the explanation.
I might write a script applet to allow switching between the two versions, but hopefully, within 2 weeks, I'll be on Xcode 4.2 100%, and not have to worry about the damn Endeca code based on Three20.
Get this. We were leaking 2.5K on each web call. They had commented out their release in one of the dynamic libraries. But enough about that.
Thanks Joar.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden