I don't mean that. Xcode is itself a Mac app, but Apple hasn't cared about the technologies for building Mac apps for a
long time.
The UI framework for building Mac apps (AppKit) was designed in the 90s. In ~2007 it was revamped for the original iPhone as UIKit, but crucially Apple never backported their modernization to the Mac. And even UIKit is starting to look outdated compared to modern innovations such as React Native.
So I don't envy the Xcode team, they are working with an old codebase and targeting an abandoned UI framework.
I'm sure if Apple could swallow its corporate pride and just fork VSCode, they could work miracles.