I believe this is a bug in iOS 18 or Xcode beta. I am seeing it a lot too in an app that I was testing in the new beta. Hadn't noticed the error before and I can see nothing wrong in the way I'm using views, SwiftData query objects etc.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: