Reply to NSUnknownKeyException: not key value coding-compliant for the key "(null)" I think it has something to do with arrays and SwiftData. When I add @Transient the error goes away but now the data set isn't saved which is the opposite of intended 🙃 @Model final class Foo { @Transient var bar: [String]? = nil } App & System Services iCloud & Data Jul ’23