Re: strip error using framework in 10.5 build that was (I think) compiled on 10.6
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