title: libsqlite in simulator and iOS compiling
body: <p>I'm having some issues when compiling my app to iOS.
  I'm using sqlite3 and imported as</p>
  
  <pre><code>#import &lt;sqlite3.h&gt;
  </code></pre>
  
  <p>Well, I only found a file named libsqlite3.0.dylib in my Mac and I copied it to my project.
  When I compile it for iOS Simulator, it works just fine. However, when I try to compile the app for iOS Device, it throws an error (Apple Match-O Linker Error) in every call I do in my implementation to sqlite's function (such as _sqlite3_open, etc.)</p>
  
  <p>How can I compile it to iOS Device?</p>
  
  <p>Thank you!</p>