title: How does XCode handle #import header statements in with multiple targets?
body: <p>I have an XCode project with 2 targets (both are iPhone apps sharing 95% of the same code).
  However, one module isn't "shareable"; the implementations are too different.</p>
  
  <p>My solution (that is not working) was to add 2 subdirectories to my <code>Classes/</code> folder in my project directory - one for each target.  In each directory, I've placed a view controller class, called <code>ExampleSentencesViewController</code>.  Of course, each file is compiled as part of only one of the targets - I'm looking for an "automatic switching" of which implementation to use based on the target.</p>
  
  <p>Inside each target's settings, I added each directory to the "Header Search Paths" setting (each path for each target).</p>
  
  <p>Oddly, it only compiles for the original target.  The target I added later won't compile, claiming that I've included the same header twice (there ARE two files, to be fair).  How do I get XCode to forget about the original header??</p>
  
  <p>I've tried deleting the .h files out of my project, but that does not seem to help.</p>
  
  <p>Any help is appreciated.</p>