iphone - SQLite database cached due to SVN -


My iPhone application uses core data and a SQLite database; Adding data to the database that is being tracked using version SVN is not reflected in the application. I'm sure I remove the project from the simulator and that the new database has been added as a file for the project. I suspect that the data is being cached in the second place.

Please note, SVN does not show any changes to the database, even when directly edited. Also, if I copy and paste the project into a new folder, delete the hidden SVN folders, delete the build folders, edit the DB, remove the project from the simulator, then compile and run, this is the first time Works. After that, the data is cached again in some unknown location.

Any ideas where this can happen?

Update: The solution was to get out of my SVN client (version). I am still unsure that the DB updates how it affected; I do not think it will block or return any change. Now I can edit and save changes.

Thanks everyone for the help.

Some wrong things may be wrong here except if you have context in your project in SQLite DB Has been added, and if you have not made any code changes, then when you click on "build" you will not see a copy of your converted db resource. In fact, long-term problems occur in sensing when the encoded (referenced) resources change. Creating a clean is your nuclear option, as it relies on your compile time, it may take some time. A better option is to remove the .app bundle just outside the build directory. It does not take long to rebuild Xcode, although you have a lot of resources, it can take some time too. The best option (which I use) is to leave the "dummy" file at the root level of the folder included in the context (assuming this is an empty text file), and when I update a resource, I will make a change to dummy file, undo change and save (inside Xcode) Press Whether it has changed anything or not, it triggers something in Xcode to recycle it through the included directory.

You are modifying the DB file, and SVN is telling you that you have not made changes. You have some other issues going on, say in the words, are you sure that the DB file Has been added and has already been checked in SVN, so SVN knows about this? And are you sure that you are editing the same file that you are checking in SVN?


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -