ModelContainer fails to create in ios18 beta
I get this error :
ModelContainer creation failed: SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer, _explanation: nil)
AbsGod/AbsGodApp.swift:25: Fatal error: Failed to create ModelContainer: The operation couldn’t be completed. (SwiftData.SwiftDataError error 1.)
SwiftData error on iOS 18, Never access a full future backing data
Try to update my app from iOS 17 to iOS 18. I’m using SwiftData to save the data on the memory. On iOS 17 all works fine, but I tried to export my app to iOS 18, and I get a strange error when I try to delete a playlist from SwiftData memory.