Hi @Claude31 - apologies, you're correct. This also fails on the iOS 18.3.1 simulator. It works on the other simulator versions I mentioned though - which is confusing.
Is there a best practice approach for this sort of problem?
As I mentioned, if I remove the binding in the Toggle and instead just refer to a .constant(), then the crash disappears (along with the toggle functionality!).
If I add a level of indirection and create a wrapper around Toggle that manages its own State, then the crash also disappears but the wrapper view doesn't update when changes to the published list are made.
I would expect the ForEach to only be attempting to iterate over the number of elements in viewModel.filteredPeople.