Re: OSX library: unsupported file format
Re: OSX library: unsupported file format
- Subject: Re: OSX library: unsupported file format
- From: Nathan Sims <email@hidden>
- Date: Thu, 26 May 2011 15:15:14 -0700
On May 26, 2011, at 1:28 PM, Scott Ribe wrote:
> On May 26, 2011, at 1:55 PM, Nathan Sims wrote:
>
>> Is it possible to build a 'universal' library that includes both x86_64 and i386 architectures?
>
> Sure. Check the settings at the various levels, for instance make sure you don't have a target setting that overrides the project setting and so on.
Thanks, Scott. I forgot to check project vs target settings. Works wonderfully now!
$ file build/Debug/libTestOSX.a
build/Debug/libTestOSX.a: Mach-O universal binary with 2 architectures
build/Debug/libTestOSX.a (for architecture x86_64): current ar archive random library
build/Debug/libTestOSX.a (for architecture i386): current ar archive random library
_______________________________________________
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