You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
synchronizer.share(object: eventParent,
publicPermission: .readOnly,
participants: [],
completion: { (share, error) in
share?[CKShare.SystemFieldKey.title] = event.name as CKRecordValue
completionHandler(share, container, error)
})
Before this. The synchronizer is : lazy var sharedSynchronizer = CloudKitSynchronizer.sharedSynchronizer(containerName: CloudKitToolConfig.containerName, configuration: self.realmConfiguration)
Change to the same as sync is OK: synchronizer = CloudKitSynchronizer.privateSynchronizer(containerName: CloudKitToolConfig.containerName, configuration: self.realmConfiguration, recordZoneID: CloudKitToolConfig.zoneID)
I am trying to share my records, but it keeps reporting an error SyncKit.CloudKitSynchronizer.SyncError2.
I located the problem here.
this modelAdapters is nil. Why is this?
Below is my model class:
The text was updated successfully, but these errors were encountered: