Failed to save to data store: The operation couldn’t be completed. (Cocoa error 133020.)

后端 未结 1 963
悲&欢浪女
悲&欢浪女 2021-01-05 17:25

I am working on quite complex app with huge sync procedure beetwen iphone and web server. I have no troubles with adding records, until I run sync procedure in separete thre

相关标签:
1条回答
  • 2021-01-05 18:08

    According to:

    http://developer.apple.com/library/ios/#documentation/cocoa/Reference/CoreDataFramework/Miscellaneous/CoreData_Constants/Reference/reference.html

    that error is NSManagedObjectMergeError:

    Error code to denote that a merge policy failed—Core Data is unable to complete merging.

    The NSError object may be able to help in decoding this error. Can you post the code you are using to insert the new data?

    0 讨论(0)
提交回复
热议问题