• 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: Recompile issues in Xcode projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recompile issues in Xcode projects


  • Subject: Re: Recompile issues in Xcode projects
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 13 Feb 2009 10:23:10 -0800


On Feb 12, 2009, at 5:53 PM, Emile Tobenfeld wrote:

I find that a lot of my Xcode projects will burn their precompiled headers and rebuild everything if I make any change to the project.

e.g. if I fully build a target (call it "Target 1") and then do any of the following, XCode will do a full rebuild on the next compile.

1. Switch to Target 2 and then back to Target 1.
2. Add an executable or change the current executable.
3. Adding a file to the target, or to the project.
4. Dragging around an item in the group tree.

Sometimes changing a .cpp file in either the project or a dependency will also force a full rebuild.

We know one cause of this: if you a) have your Intermediates build directory inside your Project directory, and b) have a Header Search Path rooted at your project directory and recursive.  After every build, Xcode notes that the contents of the build folder have changed (of course), and that your recursive search path depends on that directory, so it rebuilds headers.

Solution is to move the build folder out of your project folder, or specify your recursive search path more narrowly.

Chris
 _______________________________________________
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:
    • THANKS Chris, Re: Recompile issues in Xcode projects
      • From: "Emile Tobenfeld (a. k. a Dr. T)" <email@hidden>
References: 
 >Recompile issues in Xcode projects (From: Emile Tobenfeld <email@hidden>)

  • Prev by Date: Re: Recompile issues in Xcode projects
  • Next by Date: Re: "Edit All in Scope" never active
  • Previous by thread: Re: Recompile issues in Xcode projects
  • Next by thread: THANKS Chris, Re: Recompile issues in Xcode projects
  • Index(es):
    • Date
    • Thread