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)

Posted on Apr 19, 2023 2:54 AM

Reply

Similar questions

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Build Documentation command crashes Xcode

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.