Never mind…..I didn't know I need to look after the NSFetchedResultsController……..actually I am not sure what'd be the best to do. I toy around and see what works best.
On 26.12.2011, at 02:46, Alexander Reichstadt wrote: > Hi, > > On Xcode 4.2 I am getting some error that makes no sense to me and all > similar reports on the web don't seem to apply: > > > CoreData: FATAL ERROR: The persistent cache of section information does not > match the current configuration. You have illegally mutated the > NSFetchedResultsController's fetch request, its predicate, or its sort > descriptor without either disabling caching or using +deleteCacheWithName: > > > After I reset the simulator device it works once, I quit the app, launch it > and get the same message. The first launch I did make a fetch, it downloads > some data and puts them into the sqlite core data store, then I call > > [self saveContext]; > > If I don't call saveContext, my data is not saved, and next launch it needs > to download it all over again. If I do save I get aforementioned message. > > At the end of the message which also lists all objects in core data, it > states: > > *** Terminating app due to uncaught exception > 'NSInternalInconsistencyException', reason: 'CoreData: FATAL ERROR: The > persistent cache of section information does not match the current > configuration. You have illegally mutated the NSFetchedResultsController's > fetch request, its predicate, or its sort descriptor without either disabling > caching or using +deleteCacheWithName:' > > When looking at the documentation on deleteCacheWithName, things make even > less sense to me, because I never cached anything. > > Please, could someone help? > > Thanks > Alex > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/lxr%40mac.com > > This email sent to l...@mac.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com