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
Jazzy is not working for macOS Mojave 10.14.5. Please update #1083
Comments
It should work fine; can you explain exactly what problem you're seeing with what version of jazzy & Xcode? |
Xcode v10.2.1 & jazzy v0.10.0. Here is the log:
|
(hadn't noticed the previous edit) Does Will need to see exactly what the problem is: the full command output & invocation params/param file -- could be you have something unexpected in there. |
I'm seeing the same issue and am also running
So it just dies. And yes sourcekitten runs fine.
It was working fine a little while ago (last saved successful log I can find is with jazzy PS: I know my ruby is behind but the job is also failing on Jenkins machines using ruby |
This looks like sourcekitten / sourcekit is crashing while parsing one of the Swift files. I assume you cannot share the project; if it is always the same file then it might be possible to isolate what code is going wrong and come up with a minimal recreate. |
Cool I’ll try divide and conquer tonight - will post back! |
@johnfairh Aaah finally I figured it out - it's when someone puts a triple slash comment inside of a function :) For example:
adding the above func containing that triple slash comment inside of your source will reproduce the jazzy error I saw (and maybe same for @iOSEnthu). Note that the file in the project I'm on has existed since January (and we've run jazzy a number of times since then) so it's definitely a recent change where someone seems to have updated I've updated the scandalous triple slash to a normal double slash and our jazzy Jenkins job is working fine again :) |
Thanks for this pointer. The sample above doesn't recreate for me, but I took an existing project and replaced every Workaround is simple as you've found; I'll fix sourcekitten in the next few days. |
Recreate: 2-file project, a.swift: // 12345678901234567890
// 12345678901234567890
func ff() {} b.swift: func gg() {
/// Bang
ff()
} |
Fixed in master via #1089 including sourcekitten 0.25.0 |
No description provided.
The text was updated successfully, but these errors were encountered: