vapor/vapor

Adding vapor as a dependency breaks documentation building

Defxult opened this issue · 3 comments

Describe the bug

Adding vapor as a dependency breaks documentation building.

To Reproduce

Steps to reproduce the behavior:

  • Create a package: Xcode > New > Package > [create your package]
  • Add the package as a dependency: .package(url: "https://github.com/vapor/vapor.git", from: "4.79.0")
  • Build docs: Xcode > Product > Build documentation

Expected behavior

The documentation successfully builds, but the following error occurs:
image

With 238 "Symbol with identifier..." issues:
image

Environment

  • Vapor Framework version: 4.84.1
  • OS version: macOS Sonoma 14.0

Additional context

None

This is caused by apple/swift#69094

Hi, any news on this issue? Not being able to build documentation is kind of bothersome 😅
Is there a way to exclude Vapor form the documentation building process and only build documentation for the other packeges?

@kobimx unfortunately not, there's nothing we can do until the Swift bug is fixed, so might be worth adding a comment to that.

(You can build documentation from the command line still)