• 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: Andy Lee <email@hidden>
  • Date: Sat, 21 Jun 2008 00:33:25 -0400

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.


--Andy


_______________________________________________ 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
  • Follow-Ups:
    • Re: Using SQLite in Xcode
      • From: Chris Espinosa <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>)

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