Skip to content
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

Error: Failed to generate documentation #23

Closed
Mini-Stef opened this issue Aug 3, 2019 · 4 comments
Closed

Error: Failed to generate documentation #23

Mini-Stef opened this issue Aug 3, 2019 · 4 comments

Comments

@Mini-Stef
Copy link

Brief Description

First try, can't produce the documentation.

Just install with brew.
cd to the XCode project, typed "sourcedocs generate", end up with

Running xcodebuild
Could not parse compiler arguments from xcodebuild output.
Please confirm that xcodebuild is building a Swift module.
Saved xcodebuild log file: /var/folders/9r/8wny4fv104z6hpdv5k8m5gsc0000gn/T/xcodebuild-A7DB1988-E214-4030-9D90-9C5A9AEC9A9E.log
Error: Failed to generate documentation.

The log file is miles long, but ends with

** BUILD SUCCEEDED **

It is a swift framework with only one class

Steps to Reproduce

See above

Expected Outcome

I would expect the documentation to generate

Actual Outcome

Nothing but the error message shown above

Environment

  • Operating System: macOS 10.14.6
  • Xcode Version: 10.3
  • SwiftDocs Version/SHA: ????
  • Swift version: 5.1
@eneko
Copy link
Collaborator

eneko commented Aug 6, 2019

Hi @Mini-Stef, thank you for your feedback.

Have you tried running xcodebuild from the command line without any arguments in your project? If that does not work, you might need to specify the Xcode project scheme and/or workspace.

See Usage Options for more info.

@msalmonse
Copy link

I tried running xcodebuild (Xcode 11.0 Beta6, Catalina) and it complained about not having a provisioning profile ;^( Strange that I have no problems building with Xcode.

@minuscorp
Copy link
Contributor

this should be fixed too in #28

@eneko
Copy link
Collaborator

eneko commented Nov 1, 2019

@Mini-Stef Please try with the last SourceDocs 0.6.0 release

@eneko eneko closed this as completed May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants