title: Build .framework in XCode 6
body: <p>I started to use XCode 6 since the 4th beta and now I was trying to create and export a pure Swift .framework for iOS.</p>
  
  <p>I have to admin I am encountering a lot of issues in doing it. I want to export the .framework as universal, so I can run it on both, device and simulator.</p>
  
  <p>Now, my question is, is there a way to accomplish it?
  I tried to build and archive, to export the .framework product merging the 2 results with <code>lipo</code>, etc... and the Apple documentation seems incomplete.</p>
  
  <p>The single result I got is a .framework immediately rising an EXC_BAD_ACCESS when using one of the declared objects, so I guess I am doing something wrong.</p>