• 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: double compile messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double compile messages


  • Subject: Re: double compile messages
  • From: Bill Bumgarner <email@hidden>
  • Date: Sun, 4 Nov 2007 11:00:35 -0800

On Nov 4, 2007, at 10:36 AM, Matt Neuburg wrote:
On Wed, 31 Oct 2007 18:27:25 -0700, Shawn Erickson <email@hidden> said:
On Oct 31, 2007, at 6:23 PM, Chris Neustrup wrote:
I've got 2 files as implementation sources.  When I do the build
they are both compiled twice.  I've checked the project preferences,
and nothing jumps out.
Once for Intel, once for PowerPC? (look for -arch in the build
transcript)

You building a Release build? If so that defaults to building a
universal binary.
But the thing is, a newly created project now defaults to being a Release
build. Isn't that kind of odd? m.

Not really -- for a new project there are typically only a handful of source files.


Defaulting to Release doesn't add *that* much time to compilation (especially not for Cocoa apps -- ObjC compiles fast), doesn't impact debugging *that* badly while the code is simple, and means that the app is reasonably sized and "just works" when drag-n-dropped somewhere else.

Defaulting to Debug has surprised many a developer when their app didn't work anywhere but the products directory OR was considerably larger than expected.

By the time someone has any complexity to their project, they have probably had to adjust something build related and figured out that there is a "release" vs. "debug" modality available.

b.bum

_______________________________________________
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: double compile messages
      • From: Fritz Anderson <email@hidden>
References: 
 >Re: double compile messages (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: double compile messages
  • Next by Date: Xcode 3.0 Undefined Symbols linking error
  • Previous by thread: Re: double compile messages
  • Next by thread: Re: double compile messages
  • Index(es):
    • Date
    • Thread