-
Notifications
You must be signed in to change notification settings - Fork 413
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
Xcode 11 beta 5 - no Swift declarations found #1087
Comments
Thanks for the heads up! |
The A workaround is to write |
Have you had any issues with this consistently running? It seems like most timesI run Typical Output:
Working Output:
|
@xrolfex I haven't seen this, but I think the difference in output means that in the first case no rebuild is happening (because up to date?) and sourcekitten is using something from Could try adding |
@johnfairh Interesting, even with trying that I still end up with the same 0% message. |
Closing this as fixed in jazzy 0.11 -- this includes sourcekitten 0.25.0 that understands the response file syntax. This should address the issues mentioned in this thread; if the 'unpredictable behavior' issue continues then we'll address that separately -- response file could be a red herring! |
Interestingly enough, I just happen to have the same issue with generating Moya docs using Xcode 11.3. Clean didn't help, so I had to remove derived data manually and then run the script with
|
@sunshinejr that probably means that We should probably start a new thread if you want to pursue this: your current workaround will fail when we fix the sourcekitten bug to actually tell you about the error. |
Opening this in advance of anyone else getting stuck:
Xcode has started using a response file to pass Swift file names to
xcodebuild
which leaves sourcekitten unable to figure out what files are in the module.Workaround for now is to do
jazzy -x USE_SWIFT_RESPONSE_FILE=NO
.The Xcode feature will probably stick around, was added due to CLI length overflows, so I think we'll have to teach sourcekitten how to read the response file.
The text was updated successfully, but these errors were encountered: