XCode becomes non-responsive after editing 4 or 5 storyboards

I'm using XCode 14.3.1, but this has been happening for a long time.

After editing multiple storyboards, XCode becomes sluggish and eventually just stops responding. For me, it seems to happen after 4-5 storyboards are edited in succession.

In today's example, I changed the name of a view controller that is shared by 9 storyboards. Despite opening one storyboard, changing the VC, and closing that storyboard before moving on to the next one, once I get to number 4 or 5, I have to close XCode and re-open. In some cases, I have to "Force Quit".

Not only is XCode non-responsive, but it "tanks" my Macbook.

I am observing when I am able to quit XCode that, despite having closed the storyboard editor, as XCode is shutting down, it cycles through each of the storyboards that had been opened during my editing. Each storyboard is briefly shown in a greyed out tab at the top of the studio and then a "No Editor" tab shows briefly.

Is there some caching/optimizing going on in the background that needs to be reviewed?

XCode becomes non-responsive after editing 4 or 5 storyboards
 
 
Q