Yes @Luccif I might be on the wrong thread here; im actually not using the code from the "Create an app with SwiftData" session. In this code the same error message appeared, therefore I posted my (custom) Code here. If this will not resolve itself, I will probably open an own issue.
Post
Replies
Boosts
Views
Activity
Hello @oceaniswater, if you disable autosave when creating the modelContainer your answer probably is correct. However in my post im referring to changing its value on runtime (disabling it) having no effect.
Still the case in Beta 6. I also would like to mention, that this is the case for every View (including ContentView), in contrast to @mrhanlon situation. Another thing note mentioning is that using the previewData as the modelContainer for the app (running on my iPhone) just works fine. However replacing the new Preview macro with the old preview code does not resolve the issue. So the issue must be Preview related, independent from the new macro.
Not for me unfortunately