title: libsqlite3.dylib is a dynamic library, not added to the static library
body: <p>I've updated the project from xCode 4 to xCode 5.1. And now I get the following error on build:</p>
  <blockquote>
  <p>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
  <strong>-dynamic not specified the following flags are invalid: -ObjC</strong></p>
  <p>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
  file:
  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/<strong>libsqlite3.dylib</strong>
  <strong>is a dynamic library, not added to the static library</strong></p>
  </blockquote>
  <p>How can I fix it? I've tried to find any special build parameters (including -ObjC) but all of them are standard.</p>