My app uses Core Data and CloudKit together. I consistently get a debug messages like this:
020-12-16 11:05:48.933716-0600 Prayer Sparks[13035:4347318] [error] error: CoreData+CloudKit:
-[PFCloudKitCKQueryBackedImportWorkItem queryOperationFinishedWithCursor:error:completion:](105):
<PFCloudKitCKQueryBackedImportWorkItem: 0x2829375c0 -
<NSCloudKitMirroringImportRequest: 0x281697ea0>
ACD62C39-CCBB-4FDE-BBBE-337C9725E759> { CDMR:nil }:
Failed due to querying for an unknown record type (not fatal,
schema needs to be initialized): <CKError 0x28165c420:
"Unknown Item" (11/2003); server message = "{
"recordTypeId" : "CDMR",
"title" : "did not find record type"
}"; uuid = EAF05A49-2FB4-460B-A93D-DBFD9FF1E755; container ID = "iCloud.com.stevenhovater.Prayer-Sparks">
A version of that debug message comes at even the lowest debug feedback levels, about every 5-15 seconds. My interpretation is that in the background, the app is queuing up a request to the public database to query for CDMR records (the way cloud kit approximates relationships in Core Data, as per the article here: https://developer.apple.com/documentation/coredata/mirroring_a_core_data_store_with_cloudkit/reading_cloudkit_records_for_core_data)
However, my app doesn't have any relationships in the model. It did at one point, but I've long since removed those. My suspicion is that somewhere the model generated something to manage the relationships in the background, and it's hanging around as an artifact somewhere. I've cleaned and rebuilt probably a hundred times since that relationship existed, and have deleted the "Derived Data" folder for the app multiple times as well. I've reset the schema in the CloudKit Dashboard and reinitialized it with dummy data several times as well, yet this message persists.
Any ideas where the culprit hides, and how to get rid of it?

