title: Why are static library headers not found?
body: <p>I've used <a href="http://www.clintharris.net/2009/iphone-app-shared-libraries/" rel="noreferrer">Clint Harris' tutorial</a> to set up code sharing between projects, and everything works just as expected on my computer. But on my co-worker's machine, it seems the compiler doesn't find the header file from the static library project when he builds.</p>
  
  <p>My co-worker got my project by cloning a git repository. We've gone through all relevant build flags and XCode settings n times, but the project simply refuses to compile on his machine.</p>
  
  <p>This is what I asked my co-worker to do, mostly copied and pasted from the tutorial:</p>
  
  <ol>
  <li>Make sure there is NO blank space in the complete path to the projects' directory.</li>
  <li>Inside the projects directory, create another folder called "build_output".</li>
  <li>In XCode, under “XCode > Preferences" choose the "Building” tab and set “Place Build Projects in” to “Customized location” and specify the path to the common build directory you created.</li>
  <li>Set “Place Intermediate Build Files in” to “With build products.”</li>
  <li>Choose the “Source Trees” tab and create a new Source Tree variable by clicking on the “+” button and filling in the columns. In both "Setting Name" and "Display Name", put
  [the name of the shared project which created the static library]. In path, you put the full path to the framework folder.</li>
  </ol>
  
  <p>Following these steps, the project that uses the static library should compile the same on his machine as on mine. But it doesn't. Basically, the error he gets is:</p>
  
  <pre><code>error: TheFrameworkHeader.h: No such file or directory
  </code></pre>
  
  <p>and then a string of other errors caused by the missing header.</p>
  
  <p>Any strategies for trouble-shooting this? Or anyone who had a similar experience and could share some hard-earned knowledge? Is anything missing from the instructions I've summarized?  Do I need to set the roles of headers in the Copy Headers build phase when compiling a static library?</p>