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

Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed #826

Open
dabrahams opened this issue Nov 11, 2024 · 1 comment

Comments

@dabrahams
Copy link

For about the last 2 months, my Jazzy CI jobs are failing with:

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
/opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/executable.rb:39:in `execute_command': /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/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 /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/sourcekitten.rb:2[29](https://github.com/hylo-lang/hylo/actions/runs/11767142239/job/32775492599#step:10:30):in `run_sourcekitten'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:83:in `block (2 levels) in build'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:81:in `chdir'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:81:in `block in build'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:71:in `map'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:71:in `build'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/bin/jazzy:16:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.0.0/bin/jazzy:25:in `load'
	from /opt/homebrew/lib/ruby/gems/3.0.0/bin/jazzy:25:in `<main>'
Error: Process completed with exit code 1.

Ideas?

@jpsim
Copy link
Owner

jpsim commented Nov 12, 2024

Looks like the SourceKit dylib can’t be found. Probably something changed in your CI environment.

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

No branches or pull requests

2 participants