Intro
I have a framework A and its dependency B. I wrote some documentation using DocC syntax for only framework A and would like to compile documentation for only this framework using Xcode and doing the following steps:
- Choose a right scheme (of framework
A) - Product → Build Documentation (⌃ ⇧ ⌘ D)
Expected
A generated documentation for only framework A.
In fact
It tries to compile a doc not only for framework A but for dependency B as well.
Problem
Unknown reason of failure. It happens because Xcode tries to create a doc for dependency B as well.
Questions
- Is there any way to configure the process of building a doc excluding unnecessary files and paths?
- If 1st question yes, so where and how?
Details
Log info at codeshare.io.
FYI
| Software | Version |
|---|---|
| Xcode | 15.0 |
| Swift | 5.9 |
| Dependency B (Realm) | 10.43.1 |