Removed the libsqlite3 dynamic library from the MapView target link settings (can't link a dynamic library to a static target).