New Recommended Toolchain: swift-DEVELOPMENT-SNAPSHOT-2019-02-14-a

(Ben Langmuir) #1

The new recommended toolchain for testing SourceKit-LSP is swift-DEVELOPMENT-SNAPSHOT-2019-02-14-a ( 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.

1 Like
(Ben Langmuir) pinned #2
(Marcin Krzyzanowski) #3

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)
(Ben Langmuir) #4

Please file a bug!

(Ben Langmuir) #5

For anyone following along, this is