Xcode Errors Duplicated on Every Target in Issue Navigator

123 Views Asked by At

In Xcode 14.3.1 (and earlier), I have multiple Targets (Debug, Development, Beta and Production). When I'm building for a single target I'll see the error in the Issues Navigator for every target. Anyone run into this and have a solution for removing these duplicate issues? I commented out an import to demonstrate the duplication of the error. I'm building for the Debug target and yet it shows issues on all targets. In addition, this happens on multiple computers, so not a derived data issue (although, I have cleared that).

Duplicate Issue Navigator

In addition, if I close and re-open Xcode it initially opens with just the one issue being shown, until it re-indexes and then shows the duplicates again.

Non-Duplicate Issue Navigator

0

There are 0 best solutions below