jean
09/24/2022, 8:27 AMsourceSets.commonMain {
kotlin.srcDir("$buildDir/generated/ksp/commonMain/kotlin/")
}
sourceSets.commonTest {
kotlin.srcDir("$buildDir/generated/ksp/commonMain/kotlin/")
}
But I still get a Source file or directory not found
. What should I do to fix that?jean
09/29/2022, 11:38 AM$buildDir
with build
, I then get this
Task :example:linkDebugTestIosX64 FAILED
...
Compilation failed: IrClassPublicSymbolImpl for com.jeantuffier.statemachine/MyClass|null[0] is already bound: CLASS CLASS MyClass modality:SEALED visibility:public superTypes:[kotlin.Any]
* Source files:
* Compiler version info: Konan: 1.7.10 / Kotlin: 1.7.20
* Output kind: PROGRAM
jean
09/29/2022, 2:01 PMTing-Yuan Huang
09/29/2022, 4:40 PMResolver.getClassDeclarationByName
returns the compiled classes.jean
09/29/2022, 6:26 PM