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

Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed #1391

Closed
dabrahams opened this issue May 25, 2024 · 2 comments
Closed
Labels

Comments

@dabrahams
Copy link

dabrahams commented May 25, 2024

Ever since we upgraded to Swift 5.10, we're seeing this in our CI. The CI installs jazzy and Swift 5.10. Do we need to update Xcode as well?

Using config file /Users/runner/work/hylo/hylo/.jazzy.yml
Running swift build
Parsing FullPathInFatalErrors.swift (1/2)
SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed
/usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/lib/jazzy/executable.rb:39:in `execute_command': /usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/bin/sourcekitten ["doc", "--spm", "--module-name", "hc", "--"] (RuntimeError)

Running swift build

Parsing FullPathInFatalErrors.swift (1/2)

SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed
	from /usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/lib/jazzy/sourcekitten.rb:2[29](https://github.com/hylo-lang/hylo/actions/runs/9137274908/job/25127065260#step:10:30):in `run_sourcekitten'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/lib/jazzy/doc_builder.rb:83:in `block (2 levels) in build'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/lib/jazzy/doc_builder.rb:81:in `chdir'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/lib/jazzy/doc_builder.rb:81:in `block in build'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/lib/jazzy/doc_builder.rb:71:in `map'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/lib/jazzy/doc_builder.rb:71:in `build'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jazzy-0.15.0/bin/jazzy:16:in `<top (required)>'
	from /usr/local/lib/ruby/gems/3.0.0/bin/jazzy:25:in `load'
	from /usr/local/lib/ruby/gems/3.0.0/bin/jazzy:25:in `<main>'
@johnfairh
Copy link
Collaborator

It looks like the macOS swift.org toolchains don't include sourcekitdInProc.framework. Maybe there is some 'include all the stuff' variant somewhere, but doesn't seem to be a new problem, found this.

You're right that moving CI to macOS 14 / Xcode 15.3 with the full-fat toolchain would fix this, big hammer though.

@johnfairh johnfairh added the help label May 25, 2024
@dabrahams
Copy link
Author

Not a problem for my project; thanks. Worked on macOS-12 strangely.

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

No branches or pull requests

2 participants