title: iOS cocoapods - how to add libsqlite3.dylib
body: <p>I'd like to include the iOS framework for libsqlite3.dylib as a framework within a cocoapod.  In my .podspec file I have a line like this:</p>
  
  <pre><code> spec.framework    = 'libsqlite3.dylib'
  </code></pre>
  
  <p>When I run the pod install, it installs okay, but there is an error during build.  </p>
  
  <pre><code> framework not found libsqlite3.dylib
  </code></pre>
  
  <p>I can manually add the library by searching for it within the Build Phases > Link Binary with Libraries > + menu.  However, then I'd have to comment out my podspec line for the framework to get the errors to go away. I'd really like to get this working using cocoapods without the manual step. </p>
  
  <p>...so I'm assuming that I'm doing something wrong with how I set the framework within the podspec file.  </p>