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

SourceKitten #5325

Closed
BorisBakhlykov opened this issue Nov 2, 2023 · 12 comments
Closed

SourceKitten #5325

BorisBakhlykov opened this issue Nov 2, 2023 · 12 comments
Labels
help Questions or user problems that require more explanation rather than code changes.

Comments

@BorisBakhlykov
Copy link

Hello! I received this error "SourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed", when wrote fix command "swiftlint --fix".

Update and reinstall aren't help me.

@SimplyDanny
Copy link
Collaborator

On macOS, make sure Xcode is installed. See #1466 (comment) for help.

@SimplyDanny SimplyDanny added the help Questions or user problems that require more explanation rather than code changes. label Nov 5, 2023
@taher-mosbah
Copy link

This also occurs when using a nightly/snapshot toolchain. (tested with latest Swift 5.10 Development Toolchain).

@ObjectiveCesar
Copy link

This also occurs when using a nightly/snapshot toolchain. (tested with latest Swift 5.10 Development Toolchain).

This fixed it for me. I had to remove the Swift 6.0 snapshot toolchain.

@nysander
Copy link

SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed

macOS Sequoia and Xcode 16.0

@dabrahams
Copy link

This should be reopened.

@ByeongGwan-Seo
Copy link

ByeongGwan-Seo commented Nov 22, 2024

SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed

same here. guess this should be reopened.
i've checked swiftlint --version on terminal. it worked.
but this error appears on xcode 16

@ih-codes
Copy link

ih-codes commented Dec 9, 2024

SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed

Also seeing this after downloading the Xcode 12.6 RC. Tried removing and reinstalling with no luck.

I'm on MacOS Sequoia 15.1.1 (24B91).

@ognerub
Copy link

ognerub commented Dec 11, 2024

I had this problem when used xcodes in terminal. My version of Xcode 16.1 was marked as "installed". Then I opened AppStore and downloaded Xcode app from there. And after this problem solved. And xcodes it terminal now shows "installed, selected". Maybe it is not necessary to download app from AppStore and only type command it terminal (xcodes select) but in mine case only new app download helped.
P.S. after install Xcode from AppStore, xcodes in terminal showed something like this:
xcodes installed
16.1 (16B40) (Selected) /Applications/Xcode.app
16.1 (16B40) /Applications/Xcode-16.1.0.app

So it seems was an issue in Xcodes duplicates. And command in terminal "xcodes uninstall 16.1.0" erased unnecessary one.
After this i`ve got this list
xcodes installed
16.1 (16B40) (Selected) /Applications/Xcode.app

And now everything works fine

@nysander
Copy link

@ognerub so it looks like we cannot have 15.4 and 16.1 at the same time?

@ognerub
Copy link

ognerub commented Dec 12, 2024

In truth after update to Sequoia I`ve deleted XCode 15.3 from xcodes, and now use only version 16.1.
But you can try)

@TimOliver
Copy link

Hey folks! I also just encountered this error message and found this issue while looking for an answer.

Doing this solved it for me: #1466 (comment)

@marcoroth
Copy link

Thanks @TimOliver, that did it for me too! 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help Questions or user problems that require more explanation rather than code changes.
Projects
None yet
Development

No branches or pull requests