The new recommended toolchain for testing SourceKit-LSP is swift-DEVELOPMENT-SNAPSHOT-2019-02-14-a (https://github.com/apple/sourcekit-lsp#recommended-toolchain). We generally expect the latest snapshot toolchain to work going forward, but until sourcekit-lsp is tested in Swift CI we will continue to recommend a specific version.
Note on clangd: We have clangd in the toolchain now, but unfortunately it's hitting frequent assertion failures during editing. I'll post an update once it's stable enough to start using.
I observe an error when using --static-swift-stdlib to build sourcekit-lsp with this snapshot. Is this a known issue?
swift-DEVELOPMENT-SNAPSHOT-2019-02-14-a-osx/usr/bin/swift-build --package-path swift-source/sourcekit-lsp/ --static-swift-stdlib
Undefined symbols for architecture x86_64:
"__objc_realizeClassFromSwift", referenced from:
__ZL30_swift_updateClassMetadataImplPN5swift19TargetClassMetadataINS_9InProcessEEENS_16ClassLayoutFlagsEmPKPKNS_10TypeLayoutEPmb in libswiftCore.a(Metadata.cpp.o)
"_objc_setHook_getClass", referenced from:
__ZL19installGetClassHookv in libswiftCore.a(MetadataLookup.cpp.o)
ld: symbol(s) not found for architecture x86_64
: error: link command failed with exit code 1 (use -v to see invocation)