'Xcode Build errors repeated twice

I'm running Xcode 13.2.1 and I've noticed that I'm getting build errors repeated twice in the panel. Has anyone come across this before or know of how to solve this as it might explain the reason why my Xcode is acting sluggish.

Xcode repeating build errors



Solution 1:[1]

So after much fact finding and head scratching the issue was down to having the "show live issues" checked inside Preferences->General. It's not necessarily a fix, but it keeps errors only visible when building the project.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 user72982708