Apple Mach-O linker Error: SQLite3

You might come across a runtime error while accessing the SQLite objects like sqlite3_bind_text, sqlite3_close etc..

Screen Shot 2015-04-20 at 2.21.10 PMWell to solve this problem, you will have to add a libsqlite3.0.dylib link library to your Xcode Project  by following the below process:

Screen Shot 2015-04-20 at 6.59.14 PM In the Build Phases > Link Library section click the + button, to add the link library libsqlite3.0.dylib to your project.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s