Bekzod
12/06/2024, 11:42 AMkotlin = "2.0.21"
ksp = "2.0.21-1.0.25"
agp = "8.2.2"
compose-multiplatform = "1.7.0"
shared:
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
target 'iosApp' do
use_frameworks!
platform :ios, '15.0'
pod 'shared', :path => '../shared'
end
podfile.lock:
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:
kotlin {
jvmToolchain(17)
}
and if I need to provide any additional information please do tell me. struggling for a couple of days already