I encounter an error from the Swift extension when opening an Xcode project

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I encounter an error from the Swift extension when opening an Xcode project.

Cannot activate the 'Swift' extension because it depends on an unknown 'llvm-vs-code-extensions.lldb-dap' extension.

Cursor version

Version: 2.2.20
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z (9 hrs ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

swift extension

Identifier
swiftlang.swift-vscode
Version
2.14.0
Last Updated
2025-12-11, 10:59:27

Steps to Reproduce

an error from the Swift extension when opening an Xcode project.

Expected Behavior

swift extension work fine

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z (9 hrs ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. The issue is that you’re using Apple’s official Swift extension (swiftlang.swift-vscode), which depends on lldb-dap that isn’t available in Cursor.

For Cursor, we recommend using the Swift Language Support extension instead. Please try:

  1. Remove the current extension: swiftlang.swift-vscode
  2. Install Swift Language Support (chrisatwindsurf.swift-vscode)
  3. Restart Cursor

Additionally, I recommend checking our Swift setup guide:

Let me know if this helps!

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.