Since Xcode 14 we've been seeing a number of persistent 'false' errors in our project. It's a large project of ~300,000 lines of mostly Swift, some remnants of Objective-C. UI is mostly UIKit but SwiftUI for all new stuff.
The files are split between several frameworks with a Workspace.
This combo of complexity is apparently causing Xcode to fail to assess the type or location of certain symbols and classes.
I have anywhere from 50 to 150 errors which do not prevent me from compiling successfully. It makes refactoring practically impossible since I cannot discern true errors from false ones.
Since upgrading to 14.3 the problem has become much, much worse.
I have a simple project open now, with one UIViewController, presenting a UIHostingController with a SwiftUI view in it. The SwiftUI struct is showing four errors (preventing compilation this time) for code which does not even exists any more. This after cleaning, deleting Derived Data, and restarting Xcode. How is this possible in a project with literally 4 files in it? Where are these errors being cached?
I filed a radar about the false errors. I was asked for logs and data and information. I spent time and effort to gather and supply that, and the ticket has since been completely ignored for months.