Skip to content

[CursorAI] Activating Swift extension failed: Failed to find lldb-dap in Swift toolchain #1069

Closed
@xzilja

Description

@xzilja

Describe the bug
I am trying out CursorAI which is an editor based off VSCode 1.91.1. Commonly there are no issues with extensions, but when I add Swift one, I get an error toast saying "Activating Swift extension failed: Failed to find lldb-dap in Swift toolchain".

After some googling around, common fix stated is "install swift", however when I run swift --version I do get following output

swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0

So am currently not sure if there is anything else I could try, hence leading me to think that this might be a bug with either using cursor or swift 6.0?

I also did not get any prompts to set any extras up after installing the extension.

To Reproduce
Steps to reproduce the behavior:

  1. Download https://www.cursor.com
  2. Add Swift Extension, restart editor just in case
  3. Open any swift project that uses some import i.e. SwiftUI and you'll get errors all across when using any of the views
  4. Additionally observe error toast that pops up at the bottom left

Expected behavior
Should install and set everything up correctly.

Environment

  • OS: macOS Sequoia
  • Swift version:
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0
  • Visual Studio Code version: Version: 0.40.4, VSCode Version: 1.91.1
  • vscode-swift version: v1.11.0

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaiting on inputStalled waiting on Input

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions