• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Building Release version with hidden architectures in Xcode Project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: Building Release version with hidden architectures in Xcode Project
      • From: Stéphane Beauchemin <email@hidden>
References: 
 >Building Release version with hidden architectures in Xcode Project (From: Stéphane Beauchemin <email@hidden>)

  • Prev by Date: Re: installation of built products
  • Next by Date: Re: Info.plist preprocessing in single-file tool?
  • Previous by thread: Building Release version with hidden architectures in Xcode Project
  • Next by thread: RE: Building Release version with hidden architectures in Xcode Project
  • Index(es):
    • Date
    • Thread