On 26 mai 2011, at 17:23, john darnell wrote:
On 26 mai 2011, at 16:49, john darnell wrote: Since then I have tried using the sqlite.dylib file that comes with OSX but in doing so, some important SQLite functions (such as the prepare function) were not found during the link process. This shouldn't happen. My app links just fine. You must add "libsqlite3.dylib" to the "Link binary with libraries" section of the "Build Phases" pane of your target settings. Jean-Denis Thank you, Jean-Denis for this information. I initially added the libsqlite3.dylib into the Libraries->API->Debug group. In so doing, Xcode automatically added the same dylib to the "Link Binary with Libraries" phase of my debug version. Are you suggesting that I should have added it directly? I suppose that as long as that library appears in the "Link Binary with Libraries" list, it should be OK, but I only ever did it the way I described. Now I don't get it that you mention your "debug version". "Debug" is a configuration, and when I add that library, it gets added to my target whatever the configuration. I suppose being able to specify to include a library only for some configurations could be useful, but I don't even know how to do that. Also I don't have a "Libraries->API->Debug" group. My project, created from a standard Apple template, only has a "Frameworks" groups where I put all my libraries. Since that group is not associated with a directory, it should normally be irrelevant which group you use. Maybe you could copy/paste the exact link error you get to the list. I can also setup a dummy project with SQLite if you like. Jean-Denis _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users