GarouDan
02/02/2020, 10:05 PMjava.lang.IllegalStateException: Could not find serialized descriptor for index: -7854123172190848783Does 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 =/msink
02/03/2020, 2:53 AM1.3.70-eap-177-13 and 1.4.0-dev-1693-104alexander.gorshenev
02/03/2020, 2:06 PMGarouDan
02/04/2020, 10:57 PM1.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.