Ahmed Riyadh
01/07/2024, 11:17 AMCalculating task graph as no configuration cache is available for tasks: sharedembedAndSignAppleFrameworkForXcode
Type-safe project accessors is an incubating feature.
13 problems were found storing the configuration cache, 5 of which seem unique.
- Taskof type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'org.gradle.api.DefaultTask', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.:shared:skieConfigureMinOsVersionDebugFrameworkIosSimulatorArm64
See https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:task_access
- Taskof type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.:shared:skieConfigureMinOsVersionDebugFrameworkIosSimulatorArm64
See https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Taskof type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'org.gradle.api.internal.file.DefaultSourceDirectorySet', a subtype of 'org.gradle.api.file.SourceDirectorySet', as these are not supported with the configuration cache.:shared:skieConfigureMinOsVersionDebugFrameworkIosSimulatorArm64
See https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Taskof type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.:shared:skieConfigureMinOsVersionDebugFrameworkIosSimulatorArm64
See https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Taskof type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: cannot serialize object of type 'org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeSimulatorTest', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.:shared:skieConfigureMinOsVersionDebugFrameworkIosSimulatorArm64
See https://docs.gradle.org/8.2/userguide/configuration_cache.html#config_cache:requirements:task_access
See the complete report at file:///Users/ellet/AndroidStudioProjects/KMPBasics/build/reports/configuration-cache/7daeenlf1vm9ffwt2vs2m657i/2d1ajit7k8j7851zkompucq7y/configuration-cache-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: fieldofapiConfigurationbean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.DefaultKotlinCompilationConfigurationsContainerofdependencyConfigurationsbean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImpl$Paramsofparamsbean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImplof$$delegate_0bean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.KotlinCommonCompilationofunderlyingbean found in fieldorg.jetbrains.kotlin.gradle.utils.MutableObservableSetImplofcompilationsbean found in fieldorg.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetofvaluebean found in fieldorg.jetbrains.kotlin.tooling.core.Extras$Entryofextrasbean found in fieldorg.jetbrains.kotlin.tooling.core.MutableExtrasImplofextrasbean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.KotlinCompilationImplof$$delegate_0bean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.KotlinSharedNativeCompilationofmapbean found in fieldorg.gradle.api.internal.DefaultNamedDomainObjectCollection$UnfilteredIndexofindexbean found in fieldorg.gradle.api.internal.FactoryNamedDomainObjectContainerofcompilationsbean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.KotlinMetadataTargetofmetadataTargetbean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.KotlinVariantWithMetadataVariantofelementbean found in fieldjava.util.Collections$SingletonSetofvaluebean found in fieldkotlin.InitializedLazyImplofkotlinComponents$delegatebean found in fieldorg.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithSimulatorTestsoftargetbean found in fieldco.touchlab.skie.plugin.util.SkieTarget$TargetBinaryof task__target__of type `co.touchlab.skie.plugin.coroutines.ConfigureMinOsVersionTask`: error writing value of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfiguration':shared:skieConfigureMinOsVersionDebugFrameworkIosSimulatorArm64
> Resolving dependency configuration 'metadataCompilationApi' is not allowed as it is defined as 'canBeResolved=false'.
Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'metadataCompilationApi' should be resolved.Hi, have any of you face such issue when building the iOS app in KMP
Filip DolnĂk
01/07/2024, 11:19 AMAhmed Riyadh
01/07/2024, 11:20 AMAhmed Riyadh
01/07/2024, 11:21 AMAhmed Riyadh
01/07/2024, 11:21 AMorg.gradle.caching=true
org.gradle.configuration-cache=true
Does disabling it make the build much slower?Filip DolnĂk
01/07/2024, 11:30 AMFilip DolnĂk
01/07/2024, 11:30 AMorg.gradle.configuration-cache=true (the other caching should work fine)Ahmed Riyadh
01/07/2024, 11:30 AMFilip DolnĂk
01/07/2024, 11:31 AMAhmed Riyadh
01/07/2024, 11:31 AMFilip DolnĂk
01/07/2024, 11:32 AMAhmed Riyadh
01/07/2024, 11:32 AM