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

THANKS Chris, Re: Recompile issues in Xcode projects


  • Subject: THANKS Chris, Re: Recompile issues in Xcode projects
  • From: "Emile Tobenfeld (a. k. a Dr. T)" <email@hidden>
  • Date: Fri, 13 Feb 2009 15:40:34 -0500

Title: THANKS Chris, Re: Recompile issues in Xcode projects
I took a look and there was a ** entry in the User Header Search Paths. It didn't have recursion checked, but it looked suspicious so I removed it. That seems to fix the problem.

At 10:23 AM -0800 2/13/09, Chris Espinosa wrote:
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


--

"The test of a first-rate intelligence is the ability to hold two opposed ideas in the mind at the same time, and still retain the ability to function."

F. Scott Fitzgerald

Visit "Before the Fall -- Images of the World Trade Center" at http://www.foryourhead.com

               Emile Tobenfeld, Ph. D.                                                                        
Video Producer                  Image Processing Specialist
Video for your HEAD!                 Boris FX
http://www.foryourhead.com              http://www.borisfx.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

References: 
 >Recompile issues in Xcode projects (From: Emile Tobenfeld <email@hidden>)
 >Re: Recompile issues in Xcode projects (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: "Edit All in Scope" never active
  • Next by Date: Re: "Edit All in Scope" never active
  • Previous by thread: Re: Recompile issues in Xcode projects
  • Next by thread: Project Won't Let Me Add dylibs from /usr/lib
  • Index(es):
    • Date
    • Thread