Re: xcodebuild load error
Re: xcodebuild load error
- Subject: Re: xcodebuild load error
- From: Chris Espinosa <email@hidden>
- Date: Thu, 13 Mar 2008 13:27:26 -0700
On Mar 13, 2008, at 1:17 PM, Dan Korn wrote: On Mar 13, 2008, at 1:06 PM, Jean-Daniel Dupas wrote:
Yep,
According to Xcode 2.5 release notes:
When installed on a Mac OS X 10.5 system, Xcode 2.5 does not install any files into /usr/bin because its Tiger-based tools are not compatible with native development for Leopard. Xcode will find these tools automatically, but if you want to do makefile-based development for Xcode 2.5 on Leopard, you must set yourPATH environment variable to specify Xcode 2.5's /usr/bin directory first in order for its tools to be used, and also ensure that you are using the 10.4u SDK so that you do not include Leopard header files or link to Leopard link libraries.
So your xcodebuild tool in /usr/bin should be an old one that is no longer valid.
I think the 2.3 to 2.5 upgrade does not cleanup old binaries (you should had run the Xcode 2.3 uninstaller before upgrading).
(see http://developer.apple.com/releasenotes/DeveloperTools/RN-XcodePrevious/index.html
Ah, thanks. RTFRN, I suppose. Although, in my defense, none of this was mentioned in the "About Xcode Tools.pdf" file that's included in the Xcode 2.5 Tools disk image, nor is there a link to the online release notes on the download page. So I wonder what other important bits of info I may be missing that are listed on some web page I don't know about.
Also, the various scenarios on that release notes page don't seem to cover my situation, where I already had Xcode 2.5 installed under Tiger, then upgraded to Leopard.
Anyway, yes, if I set my PATH variable to load first from /Xcode2.5/usr/bin, as instructed, then xcodebuild works again.
However, I still have a problem: I know how to modify my .bash_profile file in my home directory to add a line like this: export PATH=/Xcode2.5/usr/bin:$PATH And that allows me to type "xcodebuild" from the command-line and have it work. But xcodebuild still doesn't work if I'm invoking it from another program, such as CodeWarrior. Any ideas how to make that change more globally?
Install Xcode 3.0 and use its xcode-select tool to specify the default version of Xcode that command-line tools should use.
Chris |
_______________________________________________
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