Hey @crslade,
I had the same issue that you are facing. I saw that when I created a record straight from the CloudKit dashboard, I noticed that the ids were a bit off. The recordName of the record straight from the CloudKit dashboard was a bit shorter than the one I created through code.
The Solution
Remove the recordName parameter from CKRecord.ID
extension DICategory {
init(name: String) {
// self.id = CKRecord.ID(recordName: UUID().uuidString, zoneID: CKRecordZone.diApp.zoneID) - shows the parsing error when you assign recordName to a UUID()
self.id = CKRecord.ID(zoneID: CKRecordZone.diApp.zoneID)
self.name = name
self.recipes = []
}
}