I get this red warning in Xcode every time my app is syncing to the iCloud. My model has only basic types and enum that conform to Codable so i'm not sure what is the problem.
App is working well, synchronization works. But the warning doesn't look good.
Maybe someone has idea how to debug it.
I was able to fix the problem by removing enum from my model. I had this enum:
var goalType: GoalType = GoalType.regular
enum GoalType: Codable {
case regular
case auxiliary
case special
}
I made migration and deleted this entity from my model and the error stopped appearing.