• 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
Building Release version with hidden architectures in Xcode Project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building Release version with hidden architectures in Xcode Project


  • Subject: Building Release version with hidden architectures in Xcode Project
  • From: Stéphane Beauchemin <email@hidden>
  • Date: Wed, 4 Mar 2009 15:02:47 -0500
  • Thread-topic: Building Release version with hidden architectures in Xcode Project

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.

 

-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.

 

The weirdest thing is that I also tried to used the command line interface of xcode : “xcodebuild”. With xcodebuild it compiles and link the release configuration for i386 and x86_64 only.

 

Is it a bug, or there is some build settings that I am missing.

 

It is not the first time it happens to me. Last time, I have re-created a XCode project from scratch and it fixed the problem. However, I can’t imagine that this is the only solution.

 

By the way, I have installed the IPhone SDK, it is not clear whether XCode try to build my code for PPC or for the iPhone.

 

Stephane

 

 

 _______________________________________________
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: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Cross Platform Dev List
  • Next by Date: Re: Info.plist preprocessing in single-file tool?
  • Previous by thread: Re: Info.plist preprocessing in single-file tool?
  • Next by thread: Re: Building Release version with hidden architectures in Xcode Project
  • Index(es):
    • Date
    • Thread