Anyone getting the following error with Xcode 8 beta 6: Attempt to serialize store access on non-owning coordinator? Any advice how to eliminate it would be greatly appreciated.
I saw the same error on performing performFetch on iOS 10.0.1:
- (void) refreshFetchedResults:(NSFetchedResultsController *)controller {
[self configureFetchRequest:controller.fetchRequest];
NSError *error = nil;
if (![controller performFetch:&error]) {
DDLogError(@"Unresolved error %@, %@", error, [error userInfo]);
}
}
}
As reported here, performing a save on the managedObjectContext associated with the NSFetchedResultsController before executing performFetch stops the warning from appearing. (In my case, there were changes to be saved.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With