Is it possible to specify the build target for DocC? (I want to exclude libraries installed with CocoaPods)

I tried to use DocC to generate documentation, but apparently DocC also tried to generate documentation for the library source code.

I would like to know how to avoid this behavior.

Thank you.

Answered by Vision Pro Engineer in 678430022

DocC will generate documentation for all the Swift frameworks and libraries that are part of the scheme—either directly or as a dependency of another target—that you are building, including external dependencies for which you have the source code (such as SwiftPM checkouts or CocoaPods). Please submit feedback with a description of your use case on the Feedback Assistant website.

Accepted Answer

DocC will generate documentation for all the Swift frameworks and libraries that are part of the scheme—either directly or as a dependency of another target—that you are building, including external dependencies for which you have the source code (such as SwiftPM checkouts or CocoaPods). Please submit feedback with a description of your use case on the Feedback Assistant website.

Is it possible to specify the build target for DocC? (I want to exclude libraries installed with CocoaPods)
 
 
Q