• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcodebuild load error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcodebuild load error


  • Subject: Re: xcodebuild load error
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 13 Mar 2008 18:09:39 +0100

What I suggest:
Uninstall all your Xcode tools (using the script in /Developer/ Library/). Make sure the xcodebuild in /usr/bin was removed.
Make a clean Xcode install.


Le 13 mars 08 à 17:42, Dan Korn a écrit :

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


_______________________________________________ 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
  • Follow-Ups:
    • Re: xcodebuild load error
      • From: Dan Korn <email@hidden>
References: 
 >xcodebuild load error (From: Dan Korn <email@hidden>)

  • Prev by Date: Finding a spurious console message
  • Next by Date: Re: Finding a spurious console message
  • Previous by thread: xcodebuild load error
  • Next by thread: Re: xcodebuild load error
  • Index(es):
    • Date
    • Thread