title: Objective C to Swift header file with multiple targets
body: <p>I'm successfully calling my Swift classes from Objective C (for target 'MyApp') via the import statement:</p>
  
  <pre><code>#import "MyApp-Swift.h"
  </code></pre>
  
  <p>I've now created a new target called "MyAppLite"</p>
  
  <p>When I compile the new target, I get errors because "MyApp-Swift.h" is required by the code, but the compiler is creating "MyAppLite-Swift.h"</p>
  
  <p>So, I need to create a conditional Swift/ObjC header <code>#import</code> for the target I'm compiling against.  </p>
  
  <p>How can this be done, or is there a better way?</p>