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?
Hi iikeli, DocC supports Swift packages and frameworks. Does your Xcode project contain any frameworks or packages?
If your project is an app, DocC in Xcode 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.
I have tried building documentation for the SlothCreator using Xcode 13 beta and Mac OS Monterey beta and it doesn't open the documentation window (as per the demo). It just opens the Developer Documentation window. I guess that the developers have a later version of Xcode to be released rsn.