Comments (4)
Actually it appears that was happening because of an invalid reference to SwiftUI
in the target. I removed that, and now it seems like I'm close to getting this working.
However it seems like I'm missing something in how I'm creating the symbol graph, since this is what I get when calling swift package preview-documentation
:
Error: Mixing symbol graph files with and without extension declarations is not supported.
I couldn't find any documentation on this. Do I need a new argument to the swift build
call to add extension declarations?
I tried -emit-extension-block-symbols
(which I found in apple/swift#59047), but that produces the same error again:
[115/229] Emitting module RevenueCat
<unknown>:0: error: error opening '.build/RevenueCat.symbols.json' for output: No such file or directory
<unknown>:0: error: error opening '.build/[email protected]' for output: No such file or directory
<unknown>:0: error: error opening '.build/[email protected]' for output: No such file or directory
from swift-docc-plugin.
Related Issues (20)
- Snippet crash: No value associated with key 'chunks' HOT 5
- Provide sensible defaults when using `--source-service` argument
- Support for skipping synthesized symbols HOT 2
- Docc cannot generate the documentation folder HOT 5
- Running the plugin using Xcode 13 produces error 'variable binding in a condition requires an initializer'
- Support for binary targets
- Xcode 13 produces error `Cannot find type 'SnippetBuilder' in scope`
- Cannot Specify Platform For Documents Generation HOT 1
- Ability to generate Objective-C docs for Swift symbols
- swift-docc-plugin generate-documentation results in empty docc catalog - no symbols - when using a local binary target/XCFramework
- inconsistent recognition of the target provided to `preview-documentation`
- No symbols are extracted when generating documentation (w/ the CLI) while the package uses a local XCFramework reference HOT 1
- Generated documentation could not be viewed on GitHub pages saying "The page you’re looking for can’t be found" HOT 1
- Add support for ObjC/C Package HOT 2
- Preview Documentation reports error on exit HOT 1
- Rebuild docs when snippet changes. HOT 3
- Failure to produce offline documentation if you consume C++ libraries via Swift C++/Interop HOT 2
- error: no such module 'UIKit' HOT 4
- Warning when building a package using the plugin with Swift 5.9.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-docc-plugin.