No stores in the coordinator are configured to use CloudKit

437 views Asked by At

Upon attempting to run

container = NSPersistentCloudKitContainer(name: "Test")
container.initializeCloudKitSchema()

I'm getting the following error:

NSLocalizedFailureReason=Couldn't initialize CloudKit schema because no stores in the coordinator are configured to use CloudKit

I'm building a CoreData/CloudKit app on iOS with SwiftUI.

Any ideas on what this error means? Thanks in advance!

0

There are 0 answers