title: Building pure Swift Cocoa Touch Framework
body: <p>I'm exploring Swift with Xcode-6 and so far so good although I think the new collections need a little bit of work as I've managed to break the compiler a few times.</p>
  
  <p>Problem is I'm now stuck trying to create the framework package to <em><strong>then use in another project</strong></em>. The project builds without issue and all tests pass successfully.  When I go to create Archive (which I assume is what is required) I receive the error:</p>
  
  <blockquote>
    <p>:0: error: underlying Objective-C module 'Sample' not found</p>
  </blockquote>
  
  <p>Now I assume this has something to do with the contents of my Sample.h which tells me </p>
  
  <pre><code>// In this header, you should import all the public headers of your framework using statements like #import &lt;Sample/PublicHeader.h&gt;
  </code></pre>
  
  <p>which is fine except I have only used swift enums, structs and classes for this framework so therefore no .h files exist.</p>
  
  <p>Can anyone shed some light on this one as I can't find any documentation available yet?</p>