I am getting this too when clearing the search field for a table in a macOS app built with SwiftUI.
My code is very similar to the OP's code. I have a MainActor class that is an @ObservableObject (I create a singleton of it) holding a Deque of data that is @Published. I have a computed property that returns a filtered Deque (from the published Deque), and that what is used to populate the table. The table has a .searchable(text:) modifier.
I get the alert when I clear the search field.
Topic:
Programming Languages
SubTopic:
Swift
Tags: