I have a pure Objective-C project and I also get the XCode crash on every other build. (It is actually the second build because the crash puts one back at first build.) At least my code changes are saved! It appears to be one of the final seven or eight steps in the build process counter. These crashes happen whether or not the device is hardware or simulator, iOS 17.4 or 16.x or 15.x, etc.