Skip to content
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

`run_sourcekitten': Unable to find an Xcode with swift version 2.1. (RuntimeError) #432

Closed
vnramachandra opened this issue Dec 23, 2015 · 3 comments
Assignees
Milestone

Comments

@vnramachandra
Copy link

I recently installed XCode 7.2 and upon running jazzy command including swift version [jazzy --swift-version 2.1.1] I am getting following error.
/Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.1/lib/jazzy/sourcekitten.rb:137:in run_sourcekitten': Unable to find an Xcode with swift version 2.1. (RuntimeError) from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.1/lib/jazzy/doc_builder.rb:57:inblock in build'
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.1/lib/jazzy/doc_builder.rb:55:in chdir' from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.1/lib/jazzy/doc_builder.rb:55:inbuild'
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.4.1/bin/jazzy:15:in <top (required)>' from /usr/local/bin/jazzy:23:inload'
from /usr/local/bin/jazzy:23:in `

'

Could you please help to resolve this?

Thanks in advance,
Ramachandra V N.

@vnramachandra
Copy link
Author

Even if we are using jazzy to document Objective-C source we need to add --swift-version 2.1.1.

@jpsim
Copy link
Collaborator

jpsim commented Dec 23, 2015

Yes, sorry for the confusing behavior. I hope #427 can address that.

@vnramachandra
Copy link
Author

Thank you for the quick update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants