title: How to use Cocoapods in a Swift framework?
body: <p>I am trying to create a new Cocoa Touch Framework for iOS in Swift, using some libraries from Cocoapods, but I can't have it work.
  I know there are some opened questions about that, but none of them seem to fix my problem.</p>
  
  <p>For testing purposes, I just created an empty Cocoa Touch Framework, installed Cocoapods and added the 'MBProgressHUD' pod.
  Then, as <a href="https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html" rel="noreferrer">documented by Apple</a> ('Importing Code from Within the Same Framework Target' section), I imported the MBProgressHUD header in my umbrella header like that: </p>
  
  <pre><code>#import "MBProgressHUD.h"
  </code></pre>
  
  <p>But when I compile, I have this error:</p>
  
  <pre><code>include of non-modular header inside framework module
  </code></pre>
  
  <p>I did set the 'Allow Non-modular includes in Framework Modules' setting to Yes, but it doesn't have any effect.</p>
  
  <p>Is there any way to use CocoaPods in a Swift Framework?</p>