title: Swift in Objective-c project: not supported for static libraries
body: <p>I'm trying to import a swift file from <a href="https://github.com/codestergit/SweetAlert-iOS/blob/master/SweetAlert/SweetAlert.swift" rel="nofollow">https://github.com/codestergit/SweetAlert-iOS/blob/master/SweetAlert/SweetAlert.swift</a> into an existing objective-c project.</p>
  
  <p>After adding the file to the project I try to compile (just adding the file without doing anything else) and I get the following build error:</p>
  
  <pre><code>Swift is not supported for static libraries
  </code></pre>
  
  <p>I'm new to swift, and don't see how this library is marked as static and what I should do to change it and make it compile - I don't need it to be static.</p>
  
  <p>how can I solve this?</p>