Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge conflict errors when updating Core Data with datastore changes #29

Open
lyahdav opened this issue Nov 10, 2014 · 0 comments
Open

Comments

@lyahdav
Copy link

lyahdav commented Nov 10, 2014

We sometimes get NSMergeConflict errors logged from [PKSyncManager updateCoreDataWithDatastoreChanges]. This is possible when changes are saved to the persistent store by another managed object context while updateCoreDataWithDatastoreChanges is running.
A simple solution to this is to set the merge policy on the managed object context:
vijayj@c05e287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant