In the same situation, adding @MainActor + async to all methods of my SwiftDataService helped me. For example:
@MainActor func updatePerson(person: Person) async { ... }
Unfortunately, it doesn't look like multithreading :/
Topic:
Programming Languages
SubTopic:
Swift
Tags: