Missing required module 'sourcekitd'

When I run swift executable from the build, it’s not able to import SwiftLang
error: missing required module 'sourcekitd'

I want to use SourceKit. Please help.

Thank You.

I am using the Trunk Development snapshot in Xcode.

error: missing required module ‘sourcekitd’
import SwiftLang

@Xi_Ge I'm confused on how to hack with SourceKit. Please help.

Should I build a custom toolchain for this ?
Can I know the best preset or command to build a custom toolchain so that I can work on refactoring and SourceKit in Xcode ?