Every time I build my project (not any project, it seems like very simple projects are not affected) sporadically there is a pop-up window with:
XCBBuildService quit unexpectedly.
Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple.
It's absolutely not clear how to fix (btw, I am using M1 powered machine and the latest macOS Monterey).