Hi, I've also facing this issue recently in a React Native project (with some errors on the Swift layer). Using Xcode 15.2 in a M1 mac, this answer from StackOverflow has fixed it for me:
https://stackoverflow.com/a/76045861/1272263 - basically, you just have to enable/disable the "Show Live Issues" check in Settings -> General