You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm struggling with trying to document my ObjectiveC framework which is a few years old and compiles fine. None of my includes are being recognized by jazzy, so I'm specifying an alternate umbrella file with full paths. If I hardcode full paths to the files it seems to get further, but this error stops me in my tracks. I don't know what I can provide that would help diagnose the problem, but I'd be happy to provide it.
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: already initialized constant Rouge::Lexers::Shell::KEYWORDS
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: previous definition of KEYWORDS was here
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: already initialized constant Rouge::Lexers::Shell::BUILTINS
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: previous definition of BUILTINS was here
fatal error: Unsupported CXCursorKind value: 15: file /Users/jp/Projects/jazzy/SourceKitten/Source/SourceKittenFramework/ObjCDeclarationKind.swift, line 55
/Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.0/lib/jazzy/executable.rb:36:in `execute_command': /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.0/lib/jazzy/SourceKitten/bin/sourcekitten ["doc", "--objc", "/Users/Alex/Alex/SummerLib2015/SummerLib2015/SummerLib2015_jazzy.h", "-x", "objective-c", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk", "-I", "/Users/Alex/Alex/SummerLib2015"] (RuntimeError)
The text was updated successfully, but these errors were encountered:
fatal error: Unsupported CXCursorKind value: 15: file /Users/jp/Projects/jazzy/SourceKitten/Source/SourceKittenFramework/ObjCDeclarationKind.swift, line 55
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.0/lib/jazzy/sourcekitten.rb:136:in `run_sourcekitten'
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.0/lib/jazzy/doc_builder.rb:57:in `block in build'
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.0/lib/jazzy/doc_builder.rb:55:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.0/lib/jazzy/doc_builder.rb:55:in `build'
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.0/bin/jazzy:15:in `<top (required)>'
from /usr/bin/jazzy:23:in `load'
from /usr/bin/jazzy:23:in `<main>'
Thanks for reporting this, @Mozahler! You're getting this error because you're using an Objective-C ivar in your public API headers and jazzy doesn't support that at the moment. Thankfully, it's pretty easy to address so I'll go do that now and post back here once that's done!
I'm struggling with trying to document my ObjectiveC framework which is a few years old and compiles fine. None of my includes are being recognized by jazzy, so I'm specifying an alternate umbrella file with full paths. If I hardcode full paths to the files it seems to get further, but this error stops me in my tracks. I don't know what I can provide that would help diagnose the problem, but I'd be happy to provide it.
The text was updated successfully, but these errors were encountered: