Skip to content

ICloudKit Framework integration With Magical Record #1382

@iChhaya10

Description

@iChhaya10

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions