I used Xcode to create a very simple iOS project (https://github.com/XuYan/vscode_sourcekit-lsp).
I followed the documentation to clone the sourcekit-lsp repo, build the sourcekit-lsp server, install the VScode extension and configure it to the sourcekit-lsp binary path, toolchain path.
After all these, I opened the simple iOS project with VScode. It seems the extension is working at some level. But the jump to definition and autocompletion are not working as expected. When I try to go to definition from the call site of "printMessage", the editor complains about "No definition found for 'printMessage'". Could you please shed some light to me about what could go wrong? Thanks!!
Here is the logs from the SourceKit Language Server output in VScode:
could not find manifest, or not a SwiftPM package: /Users/mapleman/Projects/WelcomeApp/Welcome
could not open compilation database for /Users/mapleman/Projects/WelcomeApp/Welcome/Welcome/ViewController.swift