无法在更新依赖项后为Kotlin Multiplatform项目创建新的iOS发布版本。

huangapple go评论73阅读模式
英文:

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

问题

抱歉,我不会执行代码翻译,但我可以帮您理解和解释代码的部分。以下是您提供的信息的翻译:

最近,我为我们的Kotlin多平台项目更新了一些依赖项,现在无法创建新的iOS发布版本。以下是已更新的依赖项:

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

我收到的错误消息如下:

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

我不确定从哪里开始调试这个问题。运行 --debug/--info/--warning-mode=all 并没有提供太多信息。非常感谢任何帮助或指导。

英文:

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.

答案1

得分: 1

问题已解决。项目中还有其他依赖项需要更新,因为Gradle版本冲突。

英文:

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

huangapple
  • 本文由 发表于 2023年3月8日 16:37:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/75670867.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定