Post

Replies

Boosts

Views

Activity

Reply to SwiftData iOS18: "Could not materialize Objective-C class named "Set" from declared attribute value type "Set<String>" of attribute named..."
I see the same issue. I have a handful of @Model classes with string arrays; they each produce this error consistently, whether the property is optional or not. @Model class Monster: Decodable, { var something: [String] = [] var somethingElse: [String]? = nil }
Replies
Boosts
Views
Activity
Apr ’25
Reply to Document-based SwiftData apps fail to identify a store on iPad?
I had this error too. Turned out that I was missing one of my models in my ModelConfiguration's schema. Once I added the missing model to the schema, error went away. let schema = Schema([Person.self, Car.self, City.self]) let modelConfiguration = ModelConfiguration(schema: schema, isStoredInMemoryOnly: false)
Replies
Boosts
Views
Activity
Feb ’25
Reply to Xcode 13.2.1 preview canvas not responding to keyboard
Same problem using M1 MacBook Pro and Xcode 13.2.1.
Replies
Boosts
Views
Activity
Jan ’22