• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using SQLite in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Class Browser (and code sense) not showing Framework symbols in XCode 3.0 (From: "Joan Lluch (casa)" <email@hidden>)
 >Re: Class Browser (and code sense) not showing Framework symbols in XCode 3.0 (From: Andrew Pontious <email@hidden>)
 >Using SQLite in Xcode (From: Todd Heberlein <email@hidden>)
 >Re: Using SQLite in Xcode (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Using SQLite in Xcode
  • Next by Date: Re: Using SQLite in Xcode
  • Previous by thread: Re: Using SQLite in Xcode
  • Next by thread: Re: Using SQLite in Xcode
  • Index(es):
    • Date
    • Thread