Hi there!
I've been trying to play around with the DocC documentation (amazing addition, my favourite for sure this year). Sadly, I'm not able to build documentation for the project.
I'm running macOS 11.4 and the Xcode 13 beta (13A5154h). I've tried this on a couple of existing projects and a new fresh one.
When I click product -> build documentation
it will do a build action and open the documentation for the page I had open last and show all Apple documentation, but I am unable to see any documentation for my project.
I am able to add a documentation catalog. That creates the 'index' and a resources folder, which is empty.
Is this a known issue, or an issue on my end?
Reposting as an answer in case this is what's going on:
DocC in Xcode supports Swift frameworks and packages. If your project is an app, it won't build documentation for those symbols. If you set up your code in a framework or a Swift package, you should start seeing those docs in the documentation window when you build documentation.