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: Joar Wingfors <email@hidden>
- Date: Sat, 21 Jan 2012 21:20:56 -0800
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?
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
On 21 jan 2012, at 20:53, Alex Zavatone wrote:
> If you don't know these little tips, you're screwed.
>
> On Jan 21, 2012, at 10:43 PM, Joar Wingfors wrote:
>
>>
>> On 21 jan 2012, at 15:41, Alex Zavatone wrote:
>>
>>> Don't rename your Developer directory from the Finder after you've installed Xcode.
>>
>>
>> You're absolutely supposed to be able to move / rename your Developer directory. I'm not aware of any issues with doing that.
>>
>> Depending on what you're trying to achieve, you may have to run:
>>
>> xcode-select -switch <xcode_folder_path>
>>
>> ...afterwards though.
>>
>>
>> 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