fault: Could not materialize Objective-C class named “Set”
I’m trying to do a SwiftData Migration from non-versioned to versioned and encountering this error:
Read SwiftData store metadata using Core Data
I need to access store metadata, like version identifiers (NSStoreModelVersionIdentifiers
). The starting point is a SwiftData stack, so I have my instance of ModelContainer
and my ModelConfiguration
. Is there a way to get the info I need creating Core Data objects from the SwiftData stack?