I have a small utility app which populates a persistent store that I package with an iPhone app. I recently upgraded to OS X Maverick and now my app is behaving differently than it did before. When this line executes:
[self.managedObjectContext save:&error]
...I now get two new files: my objects.datastore-wal and objets.datastore-shm. The new objects I am adding seem to be stored here instead of the original objects.datastore file, because deleting them reverts my changes.
Why are my changes not persisted to the original DB? Am I missing a step here? Is there some call I need to make to the PersistentStoreCoordinator? This behavior is definitely different than I was seeing in Mountain Lion, when I always had just one file to work with.