vscode-swift
vscode-swift copied to clipboard
[CursorAI] Activating Swift extension failed: Failed to find lldb-dap in Swift toolchain
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:
- Download https://www.cursor.com
- Add
Swift
Extension, restart editor just in case - Open any swift project that uses some import i.e.
SwiftUI
and you'll get errors all across when using any of the views - 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