Post

Replies

Boosts

Views

Activity

Reply to SwiftData fatal error SwiftData.SwiftDataError._Error.loadIssueModelContainer)
The answer to your question is present in the error: "Validation error missing attribute values on mandatory destination attribute." You've previously saved some models with a prior version of a Schema that did not have the isApero attribute and in the latest version of the model, you've added that attribute as non-optional. You should check out [VersionedSchema] (https://developer.apple.com/documentation/swiftdata/versionedschema) and SchemaMigrationPlan
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’24
Reply to CoreData lightweight migration fails on iOS 26 only — "no such column: Z_110GROUPITEMS1"
Can you file a feedback report with both models, and ideally, stores?
Replies
Boosts
Views
Activity
Jun ’26
Reply to SwiftData custom migration crash
This issue should be resolved on the latest betas. Please file a feedback report if it is not.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftData fatal error SwiftData.SwiftDataError._Error.loadIssueModelContainer)
The answer to your question is present in the error: "Validation error missing attribute values on mandatory destination attribute." You've previously saved some models with a prior version of a Schema that did not have the isApero attribute and in the latest version of the model, you've added that attribute as non-optional. You should check out [VersionedSchema] (https://developer.apple.com/documentation/swiftdata/versionedschema) and SchemaMigrationPlan
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24