Thank you for your reply! This is actually a duplicate of a previous post. After a migration in SwiftData, some of the migrated databases (but not all) fail in fetching the backingdata for the models. The first frame on the stack trace is as mentioned an assertionFailure, and I have not been able to reproduce this consistently, which is why I have problems providing a code-example.
See https://developer.apple.com/forums/thread/765423 for details of a similar crash
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: