SourceKitten icon indicating copy to clipboard operation
SourceKitten copied to clipboard

Building workspace containing Objc Module Fails

Open buffstop opened this issue 7 years ago • 1 comments

We are trying to parse a Xcode workspace that contains quite a lot of Swift and Objc modules.

Using: sourcekitten doc -- -workspace /path/to/my.xcworkspace -scheme SchemeName

returns:

Running xcodebuild
Could not parse compiler arguments from `xcodebuild` output.
Please confirm that `xcodebuild` is building a Swift module.

buffstop avatar Aug 21 '18 15:08 buffstop

Can you please share the output of running xcodebuild -workspace /path/to/my.xcworkspace -scheme SchemeName?

Since you're generating docs in Swift mode, you'll need to make sure SchemeName actually has Swift files.

jpsim avatar Nov 26 '18 07:11 jpsim