swiftlang / swift-docc-plugin

Swift Package Manager command plugin for Swift-DocC
https://swiftpackageindex.com/swiftlang/swift-docc-plugin/documentation/swiftdoccplugin
Apache License 2.0
322 stars 53 forks source link

Xcode 13 produces error `Cannot find type 'SnippetBuilder' in scope` #36

Closed sofiaromorales closed 1 year ago

sofiaromorales commented 1 year ago

When trying to generate documentation from the main branch with Swift 5.6 an error message appears Cannot find type 'SnippetBuilder' in scope, this does not happen in https://github.com/apple/swift-docc-plugin/commit/3e3305b6a71368ec9b86a5a5304fe64bab2c4605

Checklist

Expected behavior

Documentation to be generated when using Swift 5.6

Actual behavior

Error Cannot find type 'SnippetBuilder' in scope is thrown

Screen Shot 2022-12-02 at 10 34 59 PM

Steps to Reproduce

Using Swift 5.6 and running the command swift package generate-documentation against the main branch produces the error

Swift-DocC Plugin Version Information

Swift-DocC plugin version: https://github.com/apple/swift-docc-plugin/commit/5f2e247f5efef4ff8ee603443a9a29225ce9f0e2 (current HEAD -> main) Swift Compiler version: swift-driver version: 1.45.2 Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)