I created an sqlite3 database using navicat and then added to my XCode project. When my applications runs all the queries execute fine. But there is no database in the documents folder of the simulator. Where is the database being saved?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you haven’t copied the database into your Documents directory, then it’ll be in your app’s main bundle, which is at
<AppName>.appat the root of your application.You can’t write to that file.
If you want to make changes to this file you’ll have to copy it from there to your Documents directory.