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:
NSError *error = nil; if (![self.fetchedResultsController performFetch:&error]) { // handle the error... }
上面加一段代码就可以了
[NSFetchedResultsController deleteCacheWithName:nil];