SourceKitten
SourceKitten copied to clipboard
Building workspace containing Objc Module Fails
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.
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.