Sharing my experience: we had the issue starting this morning, with Xcode 15.4, on Sonoma. This is the machine we use for automated build and test.
After updating Xcode command line tools (from system settings), and removing the Derived Data, it seems to work properly.