kotlin native gives this error now ```ld: unknown ...
# kotlin-native
r
kotlin native gives this error now
Copy code
ld: unknown options: -ios_simulator_version_min -sdk_version
After I updated my XCode Tool Chains current version
xcode-select version 2406
h
Do you use Xcode 15 and Kotlin <1.9.10? https://youtrack.jetbrains.com/issue/KT-60230
r
using Xcode 15 and kotlin 1.8.10
do I have to add this build.gradle for shared part
Copy code
linkerOpts.ios_arm64 = -iphoneos_version_min 13.0.0 -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/
?
j
You need to update your Kotlin version. (To at least 1.9.10 I think, but might as well go to the latest, 1.9.23)
r
Oh so it got fixed in 1.9.23?
j
The target for the fix was 1.9.10, but the ticket also mentions 1.9.23.
👍 1
r
will try 1.9.23 then and then see