You also need to add the database to your xCode Project file.