79643018

Date: 2025-05-28 21:27:15
Score: 4.5
Natty: 4.5
Report link

I had the same problem and fixed it by making the enum Codable. I'm wondering if anyone knows why an enum has to conform to codable in SwiftData when it doesn't when using structs. Also, this error message was completely unhelpful in locating the issue, is this the kind of thing Apple wants feedback about?

Reasons:
  • Blacklisted phrase (1): anyone knows
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bob Kalus