Skip to content

Ability to generate Objective-C docs for Swift symbols #47

Description

@aboedo

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.

Screenshot 2023-01-17 at 5 24 02 PM

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.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions