The problem I'm running into is that when using "MyDB.sqlite" the application seems to not read the DB correctly (stops, NOT errors, at this line according to NSLogs):
if(sqlite3_prepare_v2(database, sqlStatement, -1, &compiledStatement, NULL) == SQLITE_OK) {
whereas if I rename the DB "MyDB.sql" (notice the lack of "ite") it will read the DB just fine. Did I import the DB incorrectly somehow? Am I using the wrong library? I did add the sqlite framework and imported it in the header file as follows:
#import <sqlite3.h>