I occasionally get this error when saving to core data. I cannot manage to recreate it.
Does anyone have any experience with this error;
CoreData: er
This happens when the object's context does not belong to the current thread. One of many ways that mistake can manifest itself.
When the crash occurs do the following:
NSManagedObjectContextmainQueueConcurrencyType then it needs to be on the main thread otherwise on the background threads.p context.concurrencyType
In the sample command above the NSManagedObjectContext was stored in the variable context
(NSManagedObjectContextConcurrencyType) $R4 = mainQueueConcurrencyType