Re: How to build a project with 32-bit and 64-bit run destinations except for one 32-bit only target
Re: How to build a project with 32-bit and 64-bit run destinations except for one 32-bit only target
- Subject: Re: How to build a project with 32-bit and 64-bit run destinations except for one 32-bit only target
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 20 Aug 2013 15:48:04 -0600
On Aug 20, 2013, at 3:40 PM, João Varela <email@hidden> wrote:
>> If they're in the same project, then you set the project default to make
>> Release configuration builds for both architectures, and change the
>> helper app target to make both Debug and Release configuration builds for
>> 32-bit only.
>
> That does not work. I did just that. Even though I only added the 32-bit
> Intel architecture to the target of the 32-bit only helper, a 64-bit run
> destination for this helper was created. When I try to build the 64-bit
> arch of my main app, which includes all the helper targets as
> dependencies, I get a build error when Xcode tries to link non-existing
> code objects (which were never compiled) of this 32-bit only helper. It's
> unfortunate you cannot exclude a target from a given arch when you try to
> build and link, or so it seems.
>
> Any other ideas?
You need to re-check the build settings on that helper target. We have a similar situation here, where we have a 32-bit helper task that is launched by a 64-bit parent app, and the helper task's architectures for all build configurations are set to "32-bit Intel" in Xcode, and building for the active architecture only is disabled in all build configurations (this setting should never be turned on in Release builds). This works for us; when the helper task is built as a dependency of the parent app, it is built as 32-bit only.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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