title: Add Multiple Target Header in IOS Objective-C code
body: <p>I am working on a project written in Objective-C. Current app has three target based on environment(Dev, Prelive and Live).</p>
  
  <p>Now I have to add new functionality which must be written in Swift language. I follow this <a href="https://stackoverflow.com/questions/24102104/how-to-import-swift-code-to-objective-c">link</a>  and app complied successfully in Dev target (i.e. Environment) .</p>
  
  <p>In objective-C files I have added header as below</p>
  
  <p><em>#import "Dev-Swift.h"</em></p>
  
  <p>and I have imported above 'Dev-Swift.h' in multiple files. </p>
  
  <p>Now issue is that I have three target and suppose If I have to run on any other target(Say Prelive) then I have to made changes with header again in multiple files &amp; it will be  </p>
  
  <p><em>import "Prelive-Swift.h"</em> </p>
  
  <p>which will be again a tough task &amp; may leads error while changing target.</p>
  
  <p>Can any one suggest how to tackle this issue. I do not want change header every time when I change target.</p>
  
  <p>Let me know if I have clarify question more.</p>