title: Swift is not supported for static libraries
body: <p>I try create own CocoaPods. First It can build with out error but after I add some file in "PodName/Classes" that will have Error "Swift is not supported for static libraries." How to fix it?<br>
  In the past I do it same but It work until today.</p>
  
  <hr>
  
  <p>OK I can fix it when I add new file I change targets to myFramework (normally add to example)
  <a href="https://i.stack.imgur.com/G8Ngz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G8Ngz.png" alt="enter image description here"></a></p>