Why is XCode reporting issues (or errors) twice sometime?
Using XCode Version 13.1 (13A1030d).
For example (dummy example), XCode starts by showing just 1 error:
and then, seconds later it shows this:
I tried unsetting/setting "Build Active Architecture Only" (ONLY_ACTIVE_ARCH). But it did have an effect.
Moreover the problem is erratic - sometimes the error is reported once only; and then on a second build it shows errors twice.