For some people (myself included), the problem is aleviated by updating the xcodeproj gem:
sudo gem update xcodeproj
Can someone explain, what exactly this gem does to the XCode real-time build system to affect the interaction between the compiler and the indexing service (see my comment on the forum that disabling the indexing service makes the problem go away as well).
This more a question to Xcodeproj developers than an actual issue:
There is well-known problem with disappearing errors/warnings in Xcode 14 reported here: https://developer.apple.com/forums/thread/715103
For some people (myself included), the problem is aleviated by updating the xcodeproj gem: sudo gem update xcodeproj
Can someone explain, what exactly this gem does to the XCode real-time build system to affect the interaction between the compiler and the indexing service (see my comment on the forum that disabling the indexing service makes the problem go away as well).
Kind regards, Sergey