title: Xcode 4.2: How to import .h file from subproject
body: <p>I am new to Xcode subprojects. In my iPhone app project <code>MyProject</code>, I am trying to refactor some common code to a static library project called <code>MyLibrary</code>. After I create <code>MyLibrary</code> and move the code, <code>MyProject</code> is no-longer compiling. The error is that the <code>MyProject</code> cannot see the .h files in <code>MyLibrary</code>.</p>
  
  <p>The error <code>MyLibraryConfig.h: No such file or directory</code> is coming in the line:</p>
  
  <pre><code>#import "MyLibraryConfig.h"
  </code></pre>
  
  <ul>
  <li>How to import the <code>MyLibrary</code> .h files in <code>MyProject</code> ?</li>
  <li>What is the best practice here? Assuming I have multiple such libraries, it is tedious to add these to header search paths to the parent project.</li>
  </ul>