Search code examples
androidioskotlinkotlin-multiplatformktor

Unable to create new IOS-release for Kotlin Multiplatform project after updating dependencies


I recently updated some dependencies for our Kotlin Multiplatform project, and now I am unable to create a new IOS-release. Here are the dependencies that were updated:

multiplatform 1.6.10 -> 1.8.10
plugin.serialization 1.6.10 -> 1.8.10
ktor 1.6.7 -> 2.2.2.
kotlinx-serialization-core 1.2.2. -> 1.4.1

The error message that I am receiving is as follows:

Execution failed for task ':linkReleaseFrameworkIosArm64'
'org.gradle.api.provider.Provider org.jetbrains.kotlin.gradle.tasks.KotlinNativeLink.getIntermediateLibrary()'

I am not sure where to begin with debugging this issue. Running --debug/--info/--warning-mode=all does not provide much information. Any help or guidance would be greatly appreciated.


Solution

  • Issue resolved. There were other dependencies in the project that had to be updated because of conflincting Gradle-versions.