Problem with ios target(only)
KMP project created by default template, don't work
Fix : disable configuration-cache at gradle.properties
org.gradle.configuration-cache=false
Configuration cache state could not be cached: field singleStorage of com.android.build.api.artifact.impl.TypedStorageProvider bean found in field directory of com.android.build.api.artifact.impl.StorageProviderImpl bean found in field storageProvider of com.android.build.api.artifact.impl.ArtifactsImpl bean found in field artifacts of com.android.build.gradle.internal.variant.TestVariantData bean found in field variantData of com.android.build.gradle.internal.api.TestVariantImpl bean found in field testVariant of com.android.build.gradle.internal.api.LibraryVariantImpl bean found in field testedVariant of com.android.build.gradle.internal.api.UnitTestVariantImpl bean found in field androidVariant of org.jetbrains.kotlin.gradle.plugin.mpp.KotlinJvmAndroidCompilation bean found in field underlying of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field compilations of org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet bean found in field value of org.jetbrains.kotlin.tooling.core.Extras$Entry bean found in field extras of org.jetbrains.kotlin.tooling.core.MutableExtrasImpl bean found in field extras of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl bean found in field this$0 of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl$associateWith$2 bean found in field forAllActions of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field allAssociatedCompilationsImpl of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl bean found in field compilation of org.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactory bean found in field factory of org.gradle.api.internal.FactoryNamedDomainObjectContainer bean found in field cinterops of org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilation bean found in field underlying of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field compilations of org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet bean found in field underlying of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field dependsOnClosureImpl of org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet bean found in field value of org.jetbrains.kotlin.tooling.core.Extras$Entry bean found in field extras of org.jetbrains.kotlin.tooling.core.MutableExtrasImpl bean found in field extras of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl bean found in field compilation of org.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactory bean found in field factory of org.gradle.api.internal.FactoryNamedDomainObjectContainer bean found in field cinterops of org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilation bean found in field underlying of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field allAssociatedCompilationsImpl of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl bean found in field compilation of org.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactory bean found in field factory of org.gradle.api.internal.FactoryNamedDomainObjectContainer bean found in field cinterops of org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilation bean found in field underlying of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field compilations of org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet bean found in field value of org.jetbrains.kotlin.tooling.core.Extras$Entry bean found in field extras of org.jetbrains.kotlin.tooling.core.MutableExtrasImpl bean found in field extras of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl bean found in field this$0 of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl$associateWith$2 bean found in field forAllActions of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field allAssociatedCompilationsImpl of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl bean found in field compilation of org.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactory bean found in field factory of org.gradle.api.internal.FactoryNamedDomainObjectContainer bean found in field cinterops of org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilation bean found in field underlying of org.jetbrains.kotlin.gradle.utils.MutableObservableSetImpl bean found in field compilations of org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet bean found in field notOnlyJsSourceSets of org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetFactory bean found in field factory of org.gradle.api.internal.FactoryNamedDomainObjectContainer bean found in field sourceSets of org.jetbrains.kotlin.gradle.plugin.hierarchy.KotlinHierarchyDslImpl bean found in field value of kotlin.InitializedLazyImpl bean found in field hierarchy$delegate of org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension bean found in field $multiplatformExtension of io.github.skeptick.libres.plugin.ResourcesPlugin$registerSetupIosExportTasks$setupPodspecTask$1$1 bean found in field capturedArgs of java.lang.invoke.SerializedLambda bean found in field action of org.gradle.api.internal.AbstractTask$TaskActionWrapper bean found in field actions of task :shared:libresSetupPodspecExports of type org.gradle.api.DefaultTask: error writing value of type 'java.util.LinkedHashMap'
java.util.ConcurrentModificationException (no error message)
Problem with ios target(only)
KMP project created by default template, don't work
Fix : disable configuration-cache at gradle.properties
org.gradle.configuration-cache=falseConfiguration cache state could not be cached: field
singleStorageofcom.android.build.api.artifact.impl.TypedStorageProviderbean found in fielddirectoryofcom.android.build.api.artifact.impl.StorageProviderImplbean found in fieldstorageProviderofcom.android.build.api.artifact.impl.ArtifactsImplbean found in fieldartifactsofcom.android.build.gradle.internal.variant.TestVariantDatabean found in fieldvariantDataofcom.android.build.gradle.internal.api.TestVariantImplbean found in fieldtestVariantofcom.android.build.gradle.internal.api.LibraryVariantImplbean found in fieldtestedVariantofcom.android.build.gradle.internal.api.UnitTestVariantImplbean found in fieldandroidVariantoforg.jetbrains.kotlin.gradle.plugin.mpp.KotlinJvmAndroidCompilationbean found in fieldunderlyingoforg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplbean found in fieldcompilationsoforg.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetbean found in fieldvalueoforg.jetbrains.kotlin.tooling.core.Extras$Entrybean found in fieldextrasoforg.jetbrains.kotlin.tooling.core.MutableExtrasImplbean found in fieldextrasoforg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImplbean found in fieldthis$0oforg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl$associateWith$2bean found in fieldforAllActionsoforg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplbean found in fieldallAssociatedCompilationsImploforg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImplbean found in fieldcompilationoforg.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactorybean found in fieldfactoryoforg.gradle.api.internal.FactoryNamedDomainObjectContainerbean found in fieldcinteropsoforg.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilationbean found in fieldunderlyingoforg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplbean found in fieldcompilationsoforg.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetbean found in fieldunderlyingoforg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplbean found in fielddependsOnClosureImploforg.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetbean found in fieldvalueoforg.jetbrains.kotlin.tooling.core.Extras$Entrybean found in fieldextrasoforg.jetbrains.kotlin.tooling.core.MutableExtrasImplbean found in fieldextrasoforg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImplbean found in fieldcompilationoforg.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactorybean found in fieldfactoryoforg.gradle.api.internal.FactoryNamedDomainObjectContainerbean found in fieldcinteropsoforg.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilationbean found in fieldunderlyingoforg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplbean found in fieldallAssociatedCompilationsImploforg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImplbean found in fieldcompilationoforg.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactorybean found in fieldfactoryoforg.gradle.api.internal.FactoryNamedDomainObjectContainerbean found in fieldcinteropsoforg.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilationbean found in fieldunderlyingoforg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplbean found in fieldcompilationsoforg.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetbean found in fieldvalueoforg.jetbrains.kotlin.tooling.core.Extras$Entrybean found in fieldextrasoforg.jetbrains.kotlin.tooling.core.MutableExtrasImplbean found in fieldextrasoforg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImplbean found in fieldthis$0oforg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl$associateWith$2bean found in fieldforAllActionsoforg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplbean found in fieldallAssociatedCompilationsImploforg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImplbean found in fieldcompilationoforg.jetbrains.kotlin.gradle.plugin.mpp.DefaultCInteropSettingsFactorybean found in fieldfactoryoforg.gradle.api.internal.FactoryNamedDomainObjectContainerbean found in fieldcinteropsoforg.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeCompilationbean found in fieldunderlyingoforg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplbean found in fieldcompilationsoforg.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetbean found in fieldnotOnlyJsSourceSetsoforg.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetFactorybean found in fieldfactoryoforg.gradle.api.internal.FactoryNamedDomainObjectContainerbean found in fieldsourceSetsoforg.jetbrains.kotlin.gradle.plugin.hierarchy.KotlinHierarchyDslImplbean found in fieldvalueofkotlin.InitializedLazyImplbean found in fieldhierarchy$delegateoforg.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtensionbean found in field$multiplatformExtensionofio.github.skeptick.libres.plugin.ResourcesPlugin$registerSetupIosExportTasks$setupPodspecTask$1$1bean found in fieldcapturedArgsofjava.lang.invoke.SerializedLambdabean found in fieldactionoforg.gradle.api.internal.AbstractTask$TaskActionWrapperbean found in fieldactionsof task:shared:libresSetupPodspecExportsof typeorg.gradle.api.DefaultTask: error writing value of type 'java.util.LinkedHashMap'