Reputation: 11399
I am opening an SQLite database in my project. I dropped this database in the "Supporting Files" folder of the project. I removed the sqlite database at some point of time and replaced it with a newer version.
I noticed that it seemed to use an older version of it. To prove that I removed the database from the "Supporting File", renamed my sqlite file and dropped it in there again.
Theoretically Xcode should not be able to find the database anymore, but it keeps using the old database happily.
I tried all kinds of "Clean", but the problem persists.
Does anybody have any suggestions for me?
Thank you very much!
Upvotes: 2
Views: 567
Reputation: 8462
The runtime copies the version of the sqlite to the simulator/physical device.
uninstall the app and run it again, it should copy the new version to the simulator/device
Upvotes: 5