XCode copies blank database when doing build...

Posted by Incognitii on Stack Overflow See other posts from Stack Overflow or by Incognitii
Published on 2009-12-18T17:43:00Z Indexed on 2010/06/01 2:03 UTC
Read the original article Hit count: 254

Filed under:
|

I've noticed that even though I placed my sqlite3 database in the "resources" folder, and even though I checked the "Copy file" box, when I do a build, XCode creates an empty database toi the application folder it's building...so it's FINDING the database, and OPENING it, but there's nothing IN it, so when I do a sqlite3_prepare_v2, I get a SQLITE_ERROR...

Help! What am I doing wrong?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about sqlite3