Search code examples
iosswiftcore-datacloudkitswift5

CoreData with CloudKit configuration path


I wanted to update my CoreData app to an iCloudKit app, and wanted to do this with the new CloudKit feature to tenable CloudKit for existing CoreData apps. I followed the Apple tutorial to do this (the second part: updating an existing Xcode Project. But I find the store descriptions paths for my scores but I don't know how to find these paths.

Here are the paths I can't find URL Paths I can't find

and my CoreData Model with its configurations My CoreData model

Does anyone know how I can find theses url path to Connect with the configurations ?

Thank's a lot


Solution

  • Finally found myself the solution:

    the path needed is the local path to the sqlite database created for each configuration as:

    Local store: /files/local.sqlite

    Cloud store: /files/cloud.sqlite