-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No documentation generated when using Xcode 11 #30
Comments
Hello, I had the same issue from the latest release, but this seems to be fixed in master. Maybe a new release is in order? :) |
@zach-klippenstein Please try with the last SourceDocs 0.6.0 release |
@eneko It works! Still need to pass in Thanks for fixing so quickly. Will you be publishing v0.6.0 to Homebrew eventually? |
Interesting, will look into it. Will do a Homebrew release sometime soon. |
Please can we get this working with Xcode 11... ? I have tried with Xcode 10.2 and 10.3 using v0.6.1 from homebrew and I still get a skeleton |
Hi @my-mo! Apologies, I thought this issue was fixed on the last release. Will investigate. Do you have any hint on what could be causing the issue? |
We also saw this issue recently. Similar to the OP, we were trying to document one module/ framework within a workspace. On some of our machines it would work as expected, but on others, we'd get a skeleton readme. On some machines we could reproduce the issue by cleaning the build folder in Xcode and deleting derived data (this would cause the skeleton readme issue). We could fix it by building the framework in Xcode (selecting the framework scheme, not one of the targets). Adding the |
Interesting, thank you for the feedback. It would be great to find a few open-source Xcode projects that we can run SourceDocs against, to generate documentation. This would help finding/reproducing issues, but also serve as documentation examples for other users. Does anyone have suggestions for open-source Xcode projects to try? |
Brief Description
When running
sourcedocs generate
with Xcode 11 tools, no source files seem to get processed and the only output is a skeletonREADME.md
file. Usingxcode-select
to choose Xcode 10.3 instead, everything works as expected.Steps to Reproduce
xcode-select
to use it from the command line.sourcedocs generate
on your project.-- -sdk iphoneos
if you get an error about Catalyst.Expected Outcome
Full set of documentation for Swift files.
Actual Outcome
A single file,
README.md
, with the skeleton text.Environment
Demo Project
This is the project that I experienced this issue with: https://github.com/square/workflow
cd swift/Samples/SampleApp
sourcedocs generate -- -scheme Workflow -workspace SampleApp.xcworkspace -sdk iphoneos
The text was updated successfully, but these errors were encountered: