Re: Building Release version with hidden architectures in Xcode Project
Re: Building Release version with hidden architectures in Xcode Project
- Subject: Re: Building Release version with hidden architectures in Xcode Project
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 4 Mar 2009 18:40:23 -0700
On Mar 4, 2009, at 1:02 PM, Stéphane Beauchemin wrote:
Hi,
I am trying to understand X-Code way of building universal binary
for 32-bit/64bit of a library.
Here’s what I do:
-If I set the active configuration to Debug and compile my static
library, I get 130 files compiling. I have 130 files in my project,
so everything works as expected.
Since around Xcode 3.1 or so, the default has been for Debug builds to
build for only the active architecture, and nothing else, so this is
expected.
-When I select the Release config and I try to build, I get 530
files compiling??? I guess that it is trying to compile the code for
4 architectures. However, in the build setting of the project, I
have specified i386 and x86_64 only, so it should only build two
architectures, so 260 files. Since, I have intel optimized code, my
release build doesn’t compile.
You say you have set that for the build settings of the project; what
about the target? Targets can override project settings.
Can you post your project somewhere, or at least the build settings?
Nick Zitzmann
<http://seiryu.home.comcast.net/>
_______________________________________________
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