title: Import Framework Based on Current Target
body: <p>I get <code>Ambiguous use of method</code> error. The reason is because I have a project with two targets, and the targets use either of two frameworks that have the same methods but with different theme usages. </p>
  
  <p>Based on the selected target, I wish to import a different framework on the same file. For example:</p>
  
  <p><code>InitializeViewController.swift</code></p>
  
  <p>For Theme A</p>
  
  <p><code>import FrameworkX</code></p>
  
  <p>For Theme B</p>
  
  <p><code>import FrameworkY</code></p>
  
  <p>How do I import either framework based on the selected target to avoid ambiguous error? Or is there another better approach?</p>