title: import sqlite3.h error: include of non-modular header inside framework module
body: <p>I am creating a custom back-end framework for my app which encapsulates all my database related logic, so, when we are going to use any database operation, we just need to call that framework function.</p>
  
  <p>Now, for database operations I need to <code>#import &lt;sqlite3.h&gt;</code> in the file called Data.swift where my all database functions exist. But this is swift file so how can I import sqlite..?</p>
  
  <p>When I use bridging-header.h, I receive error</p>
  
  <pre><code>error: using bridging headers with framework targets is unsupported
  </code></pre>
  
  <p>bridging-header.h has <code>#import &lt;sqlite3.h&gt;</code> inside it and set settings Bridging Header variable.</p>
  
  <p>If I add import statement in Umbrella header which gives me the error </p>
  
  <pre><code>include of non-modular header inside framework module
  </code></pre>
  
  <p>I googled a lot but unable to find proper answer. I also looked upon <a href="https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html#//apple_ref/doc/uid/TP40014216-CH10-XID_82" rel="nofollow">https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html#//apple_ref/doc/uid/TP40014216-CH10-XID_82</a> and followed it properly but I think I still miss something.</p>
  
  <p>Please suggest me something.</p>