When generating docs through Xcode, you can enable the DOCC_EXTRACT_OBJC_INFO_FOR_SWIFT_SYMBOLS build setting to get Objective-C documentation generated for Swift files.
I haven't found a way to achieve the same thing through this plugin, but the last comment in this thread (from March '22) says:
a further update with instructions will be shared once Objective-C doc generation can be used end-to-end. Also, one next step here will be to integrate this in the new DocC SwiftPM plugin 18.
Being able to generate Objective-C symbols is very useful to the still large number of Objective-C developers out there.
Alternatives Considered
The alternative to this is to go back to the flow of generating the archive through Xcode, which would be a bummer since the plugin is a lot more useful.
Feature Request: generate Objective-C documentation
Description:
When generating docs through Xcode, you can enable the
DOCC_EXTRACT_OBJC_INFO_FOR_SWIFT_SYMBOLS
build setting to get Objective-C documentation generated for Swift files.I haven't found a way to achieve the same thing through this plugin, but the last comment in this thread (from March '22) says:
https://forums.swift.org/t/extending-swift-docc-to-support-objective-c-documentation/53243/17
Motivation:
Being able to generate Objective-C symbols is very useful to the still large number of Objective-C developers out there.
Alternatives Considered
The alternative to this is to go back to the flow of generating the archive through Xcode, which would be a bummer since the plugin is a lot more useful.