I am getting this error when the app attempt to save change to local store:
*** ERROR *** Unresolved error Error
Domain=NSCocoaErrorDomain Code=132001 (null) UserInfo={message=attempt to recursively call -save: on the context aborted, stack trace=(
0 CoreData -[NSManagedObjectContext save:]
The syntax used:
NSError *error;
if (![managedObjectContext save:&error]) { // Commit the change.
NSLog(@"*** ERROR *** Unresolved error %@, %@", error, [error userInfo]);
}
Although Xcode shows stack trace as if the program crashed, it didn't and the program continue to execute as expected. The changes are made to the local store as well. Other the error and the stack trace there is no really any evident that there is any problem.
This happens only in Xcode 8 Beta (currently using beta 5).
Any idea why I am getting this error?