Skip to content

sourcekit-lsp client crashes after any run command in Neovim #1739

@gmtborges

Description

@gmtborges

Swift version

Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)

Platform

macOS 14.7

Editor

Neovim

Description

When I open a xcworkspace or xcodeproj project in Neovim, sourcekit-lsp loads normally, but if I execute anything like (:Telescope, open explorer, :XcodebuildPicker, ...) it quit with this message:

Client sourcekit quit with exit code 0 and signal 5. Check log for errors: /Users/gustavo/.local/state/nvim/lsp.log

And nothing was logged in the lsp.log. But in Console App there is a sourcekit-lsp crash report.

Steps to Reproduce

  1. Init a project with tuist mkdir MyDemo && cd MyDemo && tuist init --name MyDemo
  2. Generate the xcworkspace tuist generate
  3. Open in Neovim
  4. Await sourcekit-lsp loads (Verify with :LspInfo)
  5. Run any other command (:Telescope, :Ntree)

Logging

log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions