How to initialize Schema?

Hey folks.

Nick mentions that we "might" need to initialize Schema in order to use a public database. The only examples I've seen on this is to create an options, and then call 'options.shouldInitializeSchema = true'. The problem I'm seeing is that the options class doesn't have such a parameter. "NSPersistentCloudKitContainerOptions" only has a containerIdentifier and a databaseScope and an init.

If that's correct, then I'm not sure I understand how to initialize the scheme. Obviously, I can just create a record in CoreData and wait for the PersistentContainer to mirror the schema up to CloudKit and then add the needed indexes, but I assume there's a need to initialize, or else Nick wouldn't have mentioned it.

Any insights would be appreciated.

Thanks

Steve
Has anyone gotten schema initialization to work with the new initializeCloudKitSchemaWithOptions function?

I am always getting an internal CoreData "No authToken receive for asset" error thrown from this call:

Error Domain=NSCocoaErrorDomain Code=134060 "A Core Data error occurred."

(Dry run option completes without error)
How to initialize Schema?
 
 
Q