Resume long lived operation failed with error CKDatabaseOperations must be submitted to a CKDatabase

Hey, there

There's a crash on Apple's document example here https://developer.apple.com/documentation/cloudkit/ckoperation

And if we replacing self.container.add (modifyOp) with self.database.add (modifyOp)  it seem will not sync data from iCloud any more.

More info: https://developer.apple.com/forums/thread/685863

Resume long lived operation failed with error CKDatabaseOperations must be submitted to a CKDatabase
 
 
Q