According to my experiments SwiftData does not work with model attributes of primitive type UInt64
. More precisely, it crashes in the getter of a UInt64
attribute invoked on an object fetched from the data store.
With Core Data persistent UInt64
attributes are not a problem. Does anyone know whether SwiftData will ever support UInt64
?