NAS Buying Guide What is a NAS? Why ASUSTOR NAS? What is ADM Overview Latest Version NAS Apps What is App Central App Central Featured 3rd Party Apps Try Now Live Demo.Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-a. $ export TOOLCHAINS="org.swift.50202009161a"įor sourcekit-lsp, you can run the sourcekit-lsp from whatever toolchain you are going to use $ export TOOLCHAINS="org.swift.50202009161a" $ plutil -p /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-a.xctoolchain/ist | grep BundleIdentifier I believe "TOOLCHAINS=swift" should choose the most recent open source toolchain, or you can specify a specific toolchain bundle identifier. On the command-line, you can use the TOOLCHAINS environment variable or -toolchain argument to xcrun to specify a specific toolchain. However I can only change toolchain in Xcode, it doesn't affect xcrun and vscode. I also downloaded an older toolchain from, it is the swift 5.2.5 one. I guess the problem lies in libSwiftpm and sourcekit-lsp version mismatch? Is there a way I can find out libSwiftpm version and change it?ĭid you build your package using the same toolchain as you ran sourcekit-lsp from? If so, they should match. To clarify: it's only in the Package.swift file itself you're seeing problem, but things work in other files? Or is it the whole package? No such module 'packagedescription' sourcekitd There seems no problem with other packages. But vscode editor still can't find PackageDescription.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |