Combine multiple code language for export

We have a lot of libraries with both swift and objective-c code, we need to be able to export both language documentation in a single file to host in our webpage. Right now we need to select Swift find the library then export it, but we need to export both language in one file.

Are you referring to the Xcode's UI for exporting DocC archives from the Documentation Window?

This should already be the case. Regardless of which language you have selected in the UI when you perform the export – you'll get a DocC archive that contains both languages. DocC's support for mixed languages like Swift/Objective-C is designed to only require a single archive for hosting.

1 Like