You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift-docc-plugin is failing to generate documentation for a swift package that is using a binaryTarget with a local reference to an XCFramework, which is provided to include a local static binary library (compiled from another language: Rust in this case)
possibly related, depending on the underlying logic used to get the symbol graphs - I found an issue with swift package dump-symbol-graph with the same package + local binary target setup, opened as swiftlang/swift-package-manager#6162. If swift-docc-plugin relies on that functionality, that might be the underlying issue. I wasn't sure however, so I wanted to open this as well.
Swift-docc-plugin is failing to generate documentation for a swift package that is using a binaryTarget with a local reference to an XCFramework, which is provided to include a local static binary library (compiled from another language: Rust in this case)
possibly related, depending on the underlying logic used to get the symbol graphs - I found an issue with
swift package dump-symbol-graph
with the same package + local binary target setup, opened as swiftlang/swift-package-manager#6162. If swift-docc-plugin relies on that functionality, that might be the underlying issue. I wasn't sure however, so I wanted to open this as well.The command in question:
Note that manually generating the symbol graphs and then invoking docc directly does work:
Checklist
main
branch of this package.Expected behavior
Actual behavior
./docs/linkable-entities.json
contains only[]
./docs/indexing-records.json
contains only[]
Steps to Reproduce
Note: full reproduction requires building the XCFramework locally - which currently requires Rust to be installed locally.
git clone https://github.com/heckj/y-uniffi.git
cd y-uniffi
git checkout yrs_16_2
cd lib
./build-xcframework.sh
swift build
# works correctly, no issuesSwift-DocC Plugin Version Information
Swift-DocC plugin version:
1.1.0
Swift Compiler version:
(Issue was also happening identically with swift 5.7 release)
The text was updated successfully, but these errors were encountered: