https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
y

yasir-ameen

10/18/2023, 8:51 PM
Hi everyone, i am getting the following error when i am running command -> ./gradlew sharedbuild
> Task :shared:linkPodDebugFrameworkIosArm64 FAILED
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
-iphoneos_version_min has been renamed to -ios_version_min
ld: unknown options: -sdk_version
r

russhwolf

10/19/2023, 12:52 AM
Either upgrade to Kotlin 1.9.10, downgrade to Xcode 14, or try the gradle workaround in this ticket: https://youtrack.jetbrains.com/issue/KT-60230
y

yasir-ameen

10/19/2023, 4:03 AM
Thanks @russhwolf, will check it
Hi @russhwolf thank for your answer, i have updated the kotlin version 1.9.10 and the issue is resolved, thank you
2 Views