Hello guys. I'm trying to update kmp/cmp project t...
# multiplatform
b
Hello guys. I'm trying to update kmp/cmp project to kotlin 2.0.21 but getting errors: here is versions: Android Studio Koala Feature Drop | 2024.1.2 Xcode Version 16.0 (16A242d)
Copy code
kotlin = "2.0.21"
ksp = "2.0.21-1.0.25"
agp = "8.2.2"
compose-multiplatform = "1.7.0"
shared:
Copy code
cocoapods {
    summary = "Some description for the Shared Module"
    homepage = "Link to the Shared Module homepage"
    version = "1.1.6"
    ios.deploymentTarget = "15.0"
    podfile = project.file("../iosApp/Podfile")
    framework {
        baseName = "shared"
        @OptIn(ExperimentalKotlinGradlePluginApi::class)
        transitiveExport = true
        isStatic = false
iosApp: podfile
Copy code
target 'iosApp' do
  use_frameworks!
  platform :ios, '15.0'
  pod 'shared', :path => '../shared'
end
podfile.lock:
Copy code
PODS:
  - shared (1.1.6)

DEPENDENCIES:
  - shared (from `../shared`)

EXTERNAL SOURCES:
  shared:
    :path: "../shared"

SPEC CHECKSUMS:
  shared: 00a722adf329ff5a8cb7d04f4488782476ff8f49

PODFILE CHECKSUM: bcc6405526ab56ae8c9d64523b12ff8cf81ba946

COCOAPODS: 1.15.2
getting these error messages: shared: /Users/cdtix/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors Process 'command '/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1 it says jdk-21.jdk but I did not used that version. inside build-logic/convention/build.gradle.kts:
Copy code
kotlin {
    jvmToolchain(17)
}
and if I need to provide any additional information please do tell me. struggling for a couple of days already