k1ckdown / MovieCatalog

Movies app demonstrating implementation of Clean Architecture, Dependency Injection, MVVM with View State and Coordinator in SwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Realm Error

avazbekolimov07 opened this issue · comments

Realm part is giving error by terminating runtime :

RealmSwift/Realm.swift:1468: Precondition failed: Incorrect actor executor assumption; Expected 'UnownedSerialExecutor(executor: (Opaque Value))' executor.

@avazbekolimov07 You're right, this worked in iOS 16, but in iOS 17 it was crashing. The reason is that Realm is used outside of the actor which it is isolated to. I'll fix this soon.