NSPersistentCloudKitContainer 错误处理

Car*_*arl 5 ios cloudkit nspersistentcloudkitcontainer

有时NSPersistentCloudKitContainer会在控制台中报告错误,如下所示:

\n\n
*2020-04-14 16:41:27.725794+0100 ExampleApp[9736:8226377] [error] error: CoreData+CloudKit: -: <NSCloudKitMirroringDelegate: 0x282b944d0>: Sending \xe2\x80\x98NSCloudKitMirroringDelegateWillResetSyncNotificationName\xe2\x80\x99 with reason: \xe2\x80\x98UserPurgedZone\xe2\x80\x99* [NSCloudKitMirroringDelegate logResetSyncNotification:](1798) \n
Run Code Online (Sandbox Code Playgroud)\n\n

在我的代码中,我在加载持久存储时进行了错误处理,但此错误不会触发它,因为此错误是在存储加载后发生的。

\n\n

我在哪里处理这些错误?我怎样才能看到代码中的这些错误?

\n