• 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: strip error using framework in 10.5 build that was (I think) compiled on 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strip error using framework in 10.5 build that was (I think) compiled on 10.6


  • Subject: Re: strip error using framework in 10.5 build that was (I think) compiled on 10.6
  • From: Kevin Brock <email@hidden>
  • Date: Thu, 15 Oct 2009 12:30:18 -0700

Kevin Brock wrote:
Chris Espinosa wrote:

On Oct 13, 2009, at 12:31 PM, Kevin Brock wrote:

I've got a set of projects that builds on both 10.5 & 10.6.  Standard 32/64 universal binary stuff.

I upgraded a 3rd party framework that didn't support 64-bit to a version that did (Growl-WithInstaller.framework v1.2), and now I can build the projects on 10.6 with Xcode 3.2, but on 10.5 with Xcode 3.1.4 I get the error:

strip: for architecture x86_64 object: <path to GWI.framework> malformed object (unknown load command 5)

Anyone have a clue about what this load command is?  I can't find many references to this exact error on the net.  The ones I have found are all people wondering what's going on--haven't seen any of them answered yet.

I *think* the framework was built on 10.6, but I'm not certain.

If you do an otool -l <path to GWI.framework> what is load command 5? If it's LC_DYLD_INFO_ONLY then the framework was not built with a Deployment Target of 10.5 and can't be used on Leopard.

Xcode 3.2 is including LC_DYLD_INFO if the target is 10.5 or above.  Unfortunately the developer tools on 10.5 don't understand that option.  You can't use a compiled framework with this option as part of a project that needs to build on 10.5.

Compiling for a target of 10.4 seems to get around this, but isn't always an option...

Kevin


 _______________________________________________
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

References: 
 >strip error using framework in 10.5 build that was (I think) compiled on 10.6 (From: Kevin Brock <email@hidden>)
 >Re: strip error using framework in 10.5 build that was (I think) compiled on 10.6 (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Interface Builder lost synchronization with Xcode
  • Next by Date: Re: strip error using framework in 10.5 build that was (I think) compiled on 10.6
  • Previous by thread: Re: strip error using framework in 10.5 build that was (I think) compiled on 10.6
  • Next by thread: std::__debug problem with linking against template libraries
  • Index(es):
    • Date
    • Thread