Skip to content

Build the Swift Package Index documentation for iOS - #9

Merged
melihcolpan merged 1 commit into
mainfrom
spi-ios-docs
Oct 9, 2026
Merged

melihcolpan merged 1 commit into
mainfrom
spi-ios-docs

Conversation

@melihcolpan

Copy link
Copy Markdown
Owner

Swift Package Index builds DocC on macOS by default, where the UIKit integration (MuscleMapView, HeatmapLegendUIView) does not exist, so the UIKit Integration article ends up with ten unresolved links. platform: ios in .spi.yml documents the whole API. Verified locally with xcodebuild docbuild -destination generic/platform=iOS and --warnings-as-errors: no warnings.

Swift Package Index builds documentation on macOS unless .spi.yml names a
platform. MuscleMap's UIKit integration (MuscleMapView,
HeatmapLegendUIView) is only compiled where UIKit exists, so a macOS
documentation build leaves the UIKit Integration article with ten
unresolved symbol links.

Building for iOS documents the whole API. Checked with
xcodebuild docbuild -destination generic/platform=iOS and
--warnings-as-errors: the build succeeds with no warnings, while the
macOS build used by default fails with the same flag.
@melihcolpan
melihcolpan merged commit cdcecf7 into main Oct 9, 2026
4 checks passed
@melihcolpan
melihcolpan deleted the spi-ios-docs branch October 9, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant