04-20-2011 02:00 AM
This solved for me
first you need to be running sqlite code on a thread , inside where you are going to use the db code.
11-19-2013 05:57 AM
I just had the same problem and it seems that the first select statements were about to be prepared before the database was created properly (the file was there, but the create statements for tables hadnt been processed yet), so I copied a working database file from a real device and the app is working fine now in the simulator. Maybe this can be of help if someone encounters this issue again.