I believe this should have been fixed by Resolve `/usr/bin/*` shims on macOS by bnbarham · Pull Request #2362 · swiftlang/sourcekit-lsp · GitHub. Could you check if this is fixed in a recent Swift development snapshot? If not, could you file an issue at GitHub - swiftlang/sourcekit-lsp: Language Server Protocol implementation for Swift and C-based languages?