Replies: 3 comments 9 replies
-
For sourcekit-lsp to work fully you need to compile your project. You are better setting up build arguments to compile your code. These are automatically passed onto sourcekit-lsp. There's an interesting thread on build iOS projects using SPM here https://forums.swift.org/t/use-spm-to-build-ios-target/25436/ |
Beta Was this translation helpful? Give feedback.
-
My new problem is that I'm now using Kotlin Multiplatform Mobile, and I want to include the framework it generates for my project's shared module in my dummy package. I found an article about including a Anyone know how I can get SPM to recognise this framework/header? |
Beta Was this translation helpful? Give feedback.
-
Hi @realh I don't know a great deal about this kinda stuf. You are best asking in either the swift forums or the Swift Open Source Slack https://join.slack.com/t/swift-open-source/shared_invite/zt-1qos3yzfp-ZvU5GwTHB29pyAX9ah4q0A |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'd like to use VS Code to edit an iOS app I'm developing. I found an article on Medium but it refers to the old plugin that used to be included in the sourcekit-lsp repo. I've added
.vscode/settings.json
to my workspace, containing:and
Package.swift
:swift package resolve
runs without errors, but I'm getting no support for code completion, linting, jump to definition etc, even for types defined in my own code.Can anyone help me get this to work?
Beta Was this translation helpful? Give feedback.
All reactions