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?
- Does a selected scheme affect on DocC compiler process at all? Or the compiler tries to handle all sources he has within
.xcworkspace
including all.xcodeproj
and their dependencies inside workspace?
Details
FYI
Xcode | → | 15.0 |
Swift | → | 5.9 |
Dependency B (Realm) | → | 10.43.1 |
All the best,
Ivan.
P.S. I'd been happy to see support Markdown's tables here with more rich visual experience.