Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Is it still necessary to download a toolchain? #9

Open
benwoodward opened this issue Jul 4, 2020 · 3 comments
Open

Is it still necessary to download a toolchain? #9

benwoodward opened this issue Jul 4, 2020 · 3 comments

Comments

@benwoodward
Copy link

sourcekit-lsp seems to be included as part of XCode 11.4. Does this mean downloading a toolchain is no longer necessary ?

@matthewspear
Copy link

The path can be found using xcrun --find sourcekit-lsp and can be used as the command path to write and complete Swift, although couldn't get UIKit support to work

@klaaspieter
Copy link
Owner

If sourcekit-lsp is provided by Xcode now than you shouldn't have to download a separate toolchain.

Under the hood coc-sourcekit already runs xcrun --toolchain swift --find sourcekit-lsp so it should automatically find the Xcode version if no other toolchains are installed.

@klaaspieter
Copy link
Owner

@benwoodward @matthewspear if it works, feel free to update the README 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants