title: Create and import swift framework
body: <p>I'm new in swift programming.
  I need to create pure swift framework and import it in my existing pure swift project.
  When I try to import swift framework, I'm getting this error 
  message:</p>
  
  <pre><code>"Could not build Objective-C module '&lt;myModule&gt;'"
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/POJFd.png" alt="Framework File Structure"></p>
  
  <p><strong>Test.h</strong></p>
  
  <pre><code> import Foundation
  
  public class Test {
      class func printTest() {
          println("111");
      }
  }
  </code></pre>
  
  <p><strong>Asdf.h</strong></p>
  
  <pre><code>import UIKit
  public class Asdf: Test {
      class func echo() {
          println(888);
      }
  }
  </code></pre>
  
  <p><strong>myModule-Swift.h</strong></p>
  
  <pre><code>#ifndef &lt;myModule&gt;_&lt;myModule&gt;_Swift_h
  #define &lt;myModule&gt;_&lt;myModule&gt;_Swift_h
  
  #endif
  </code></pre>
  
  <p>After framework build, i have added framework in my existing project and get this
  <img src="https://i.stack.imgur.com/7IXmW.png" alt="Project Structure and import problem screen"></p>
  
  <p>What am I doing wrong? Thanks For Help!</p>
  
  <p>@findall comment answer -
  I tried to add all framework files to my project root folder and inside project folder, but again got the same error
  <img src="https://i.stack.imgur.com/VlzgD.png" alt="Add Framework files to project root"></p>
  
  <p><img src="https://i.stack.imgur.com/eQtsm.png" alt="Add Framework files inside project folder"></p>