Re: Using SQLite in Xcode
Re: Using SQLite in Xcode
- Subject: Re: Using SQLite in Xcode
- From: Chris Espinosa <email@hidden>
- Date: Fri, 20 Jun 2008 22:22:49 -0700
On Jun 20, 2008, at 9:33 PM, Andy Lee wrote:
On Jun 21, 2008, at 12:26 AM, Todd Heberlein wrote:
I want to use sqlite3 directly (sqlite3_open(), sqlite3_close(),
etc.). The compiler doesn't have any problems finding the sqlite3.h
header file and compiling the code, but it fails when linking. Is
there a -lsqlite3 (or whatever) I need to add to the target? Or is
the library simply not there and I need to go out and build a fresh
copy for myself?
I dragged libsqlite3.dylib into "Other Frameworks" in my Xcode
project, and that did it for me.
1) You find it in /usr/lib by using "Go to Folder..." in the Finder
2) Don't forget to check the checkbox to add it to your target.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden