Re: proper way to manage built 32/64 bit libraries for Xcode 4
Re: proper way to manage built 32/64 bit libraries for Xcode 4
- Subject: Re: proper way to manage built 32/64 bit libraries for Xcode 4
- From: David Duncan <email@hidden>
- Date: Tue, 26 Jul 2011 10:07:23 -0700
On Jul 25, 2011, at 11:46 PM, Tobias Ford wrote:
> xcode 4 has the option to build both 64 or 32 bit targets from the pop-up target menu and I have several external libraries that are built on the command line. I have everything building and linking fine as a 64 bit application. When building as a 32bit application, my libraries can't be linked against since they happen to be 64bit.
>
> What's the best way to manage this problem in Xcode? I don't really want to create a separate target for each architecture. Is building a fat library using lipo the only option or is there another option/solution that I might be overlooking?
There is a build setting "Build Active Architecture Only" that by default is on for Debug builds and off for Release builds. You can turn it off for all of the appropriate targets (your frameworks) and they will always build all of their architectures. Then the setting in the Schemes menu only applies to which binary to launch (which for a framework is irrelevant).
--
David Duncan
_______________________________________________
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