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 }
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Apr ’25