In this and this KMP projects, when I turn on KSP2 it will fail kspKotlinIosSimulatorArm64 with:
e: [ksp] java.lang.NullPointerException: null cannot be cast to non-null type org.jetbrains.kotlin.load.java.structure.impl.JavaClassImpl
* What went wrong:
Execution failed for task 'shared:kspKotlinIosSimulatorArm64'.
> A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction
> null cannot be cast to non-null type org.jetbrains.kotlin.load.java.structure.impl.JavaClassImpl
using:
kotlin = "2.0.0"
ksp = "2.0.0-1.0.21"
ksp.useKSP2=true
possible duplicate of #1929
In this and this KMP projects, when I turn on
KSP2it will failkspKotlinIosSimulatorArm64with:using:
possible duplicate of #1929