I want to add a sqlite database in my app and all tutorials says to add the files to the Resources folder. The issue is that i don’t have a Resources folder in xCode 4. So is the a replacement for the folder? (I only need reed rights.)
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.
Dragging your sqlite database file into the project navigation tree of your Xcode project should be enough to have it copied into your application in the build stage. It does not matter if your files are grouped under a common ‘Resources’ group or not.
That said, you can create groups by right clicking on the project navigation tree and selecting ‘New Group’. It is common to have most application resources (sqlite dbs, images, etc) grouped together as a way to keep them organized and separate from source code, but it’s not a requirement whatsoever.