xcodebuild load error
xcodebuild load error
- Subject: xcodebuild load error
- From: Dan Korn <email@hidden>
- Date: Thu, 13 Mar 2008 11:42:54 -0500
When I run xcodebuild from the command line in Terminal, I get the
following error:
~>xcodebuild
dyld: Library not loaded: /Developer/Library/PrivateFrameworks/
DevToolsSupport.framework/Versions/A/DevToolsSupport
Referenced from: /usr/bin/xcodebuild
Reason: image not found
Trace/BPT trap
I dumped all the load info like so:
~>otool -L `which xcodebuild`
/usr/bin/xcodebuild:
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
(compatibility version 300.0.0, current version 567.29.0)
/Developer/Library/PrivateFrameworks/DevToolsSupport.framework/
Versions/A/DevToolsSupport (compatibility version 1.0.0, current
version 794.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/
CoreFoundation (compatibility version 150.0.0, current version 368.28.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/
CoreServices (compatibility version 1.0.0, current version 18.0.0)
/Developer/Library/PrivateFrameworks/JavaKit.framework/Versions/A/
JavaKit (compatibility version 1.0.0, current version 779.0.0)
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Versions/
A/DevToolsCore (compatibility version 1.0.0, current version 798.0.0)
/System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
(compatibility version 1.0.0, current version 96.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.4)
This is on my MacBookPro running OS X 10.5.2 and Xcode 2.5. (I can't
run "xcodebuild -version" to verify the version of the tool without
getting the same load error.)
I used to have Xcode 2.3 installed under Tiger on this machine, in
the /Developer folder, but when I installed Xcode 2.5, it put
everything in the /Xcode2.5 folder. So I wonder if that double
upgrade path (Xcode 2.3 to 2.5 and Tiger to Leopard) messed things
up. Although I would think that the 2.5 installer would overwrite the
xcodebuild binary with one that points to the location where it's
actually installing the libraries. Since I also have CodeWarrior
installed, I did have to copy the SDKs from /Xcode2.5 to /Developer,
but I don't think that should affect xcodebuild at all. On my old
Powerbook running Tiger, Xcode 2.5 installed itself into /Developer
and xcodebuild works fine.
I've already tried re-running the Xcode 2.5 installer, but that
doesn't seem to fix the problem.
What should I do to resolve this?
Thanks,
Dan
_______________________________________________
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