Hi, I’m receiving the following error when buildi...
# kotlin-native
g
Hi, I’m receiving the following error when building my Kotlin multiplatform project (but only for the Kotlin native targets):
java.lang.IllegalStateException: Could not find serialized descriptor for index: -7854123172190848783
Does someone know how to solve this problem? I’m using Kotlin
1.3.61
and Gradle
5.5.1
. I tried to update to latest Kotlin dev
1.3.70-eap-96
but I still have the same problem =/
m
Latest for K/N are
1.3.70-eap-177-13
and
1.4.0-dev-1693-104
a
Can you share a little more details? May be your project is on github? Or you could create a small reproducer?
g
I tried with
1.4.0-dev-1693-104
and the problem is not solved there as well. I can confirm that the problem only happens with the targets that are not using the usual
KotlinNativeTarget
, but something like
KotlinNativeTargetWithSimulatorTests
, etc. All other native modules work (was32, android native arm32, arm64, ios arm 32 and so on). Unfortunately I cannot easily extract a code to reproduce now, either way I can try to do that in the following days. For example with,
1.3.61
,
iosX64
was working, but when upgrading to
1.4.0-dev-1693-104
its configuration changed here
kotlin-gradle-plugin-1.4.0-dev-1693-104-sources.jar!/org/jetbrains/kotlin/gradle/dsl/KotlinTargetContainerWithPresetFunctions.kt:158
to use something that is not the
KotlinNativeTarget
and it stopped to work.