1

Good morning,

After updating to IOS11 in order to give support to iPhoneX our app has stopped working with iCloud correctly. The thing is that CoreData is working alright in Local Store, however when we try to use an iCloud document we stop being able to update an Entity. Whenever we try to update an object we get:

Mutating a managed object 0x10757e800 (0x1075360e0) after it has been removed from its context. CoreData: error: Mutating a managed object 0x10757e800 (0x1075360e0) after it has been removed from its context.

We have been tracking the issue and:

  • There is just a ManagedObjectContext (it works alright in local)
  • All the instances are correct
  • We have seen there are a lot more ManagedContext saves in iCloud environment.
  • We can create other entities but not update them.

We have also try the code in IOS10.3.3 and it worked allright. Is UIManagedDocument working properly in iCloud for IOS11? could anyone give us a clue to resolve the issue?

Thanks in advance

Kasas
  • 1,216
  • 2
  • 18
  • 28
  • Have you checked this? https://stackoverflow.com/questions/38159502/coredata-error-mutating-a-managed-object-after-it-has-been-removed-from-its-co?rq=1 – aBilal17 Mar 07 '18 at 12:40
  • Not sure, but it's worth remembering that Core Data's iCloud support has been deprecated for a while. – Tom Harrington Mar 07 '18 at 16:09
  • I've checked that issue, but our local Core Data is working fine, so it is not the same issue. Our problem is when we have CoreData syncrhonized by iCloud... I think it is not working on IOS11. We have tested on IOS 10.3.3 and it was working fine... – Kasas Mar 12 '18 at 06:03

0 Answers0