title: How to create a framework for a swift project with iOS 7+ support?
body: <p>I have a requirement to create a framework for a shared set of common utilities that we plan to use in multiple iOS projects in our organization. The utility classes are written in swift and the framework needs to support projects in iOS 7 and above. I'm using Xcode 6.1.1.</p>
  
  <p>I tried creating both a 'Cocoa Touch Framework' and a 'Cocoa Touch Static Library' and can't seem to get it working for iOS 7 builds. </p>
  
  <p>With 'Cocoa Touch Framework', I get a warning that 'Embedded dylibs/frameworks only run on iOS 8 or later' and though I can get it to run, it fails during the iTunesconnect step with an error that the project's deployment target must not be less than 8.0 (mine is 7.0).</p>
  
  <p>I tried with 'Cocoa Touch Static Library' as well using the steps given in <a href="http://www.raywenderlich.com/65964/create-a-framework-for-ios">http://www.raywenderlich.com/65964/create-a-framework-for-ios</a>, but it just does not build with swift files. When I remove all swift files and add Obj-C files, it works properly.</p>
  
  <p>Any help is greatly appreciated. How do I create a framework for a swift project with iOS 7+ support?</p>
  
  <p>Thanks</p>