Build Documentation command crashes Xcode
I am trying to make use of the DocC feature in the latest Xcode version within a Swift package, however after the documentation is built, the window with the documentation opens for a second and then almost immediately the screen goes red and Xcode crashes. I tried deleting derived data and also installing an older version of Xcode (14.1), yet running the `Build Documentation` command gives the same result. I also tried to add the Doc Catalogue manually and bind it to the code by moving the catalogue to the directory with the source files, and it crashed again. I'm running this on a MacBook Pro 2019 (Intel core).
Did anyone have a similar problem? I need to build the documentation catalogue for my work, so any ideas for fixes would be appreciated.
MacBook Pro (2017 – 2020)