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

ICloudKit Framework integration With Magical Record #1382

Open
iChhaya10 opened this issue Sep 9, 2020 · 0 comments
Open

ICloudKit Framework integration With Magical Record #1382

iChhaya10 opened this issue Sep 9, 2020 · 0 comments

Comments

@iChhaya10
Copy link

I have an existing project in Objective C with Magical Record Library used for core data. Now I need to make this app data sync to multiple iOS devices for which I added iCloudkit Framework and need to use NSPersistentCloudKitContainer. I tried to change root context of Magical record class to NSPersistentCloudKitContainer view context. But it crashes with error:
NSInternalInconsistencyException', reason: 'Context already has a coordinator; cannot replace.'

Any one has any idea how to add NSPersistentCloudKitContainer viewcontext in Magical Record.

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