`ld: unknown options: -ios_simulator_version_min -...
# multiplatform
m
ld: unknown options: -ios_simulator_version_min -sdk_version
Anyone know how to fix this error?
1
due to be fixed I believe in 1.9.10 but have following as workaround here for now (from https://github.com/joreilly/PeopleInSpace)
Copy code
it.binaries.framework {
            baseName = "common"

            // re. <https://youtrack.jetbrains.com/issue/KT-60230/Native-unknown-options-iossimulatorversionmin-sdkversion-with-Xcode-15-beta-3>
            // due to be fixed in Kotlin 1.9.10
            if (System.getenv("XCODE_VERSION_MAJOR") == "1500") {
                linkerOpts += "-ld64"
            }
        }
👍 1
m
Thanks a lot John! That fixed it
👍 1
r
Hi @John O'Reilly, I got same problem but for gradle task
linkDebugTestIosSimulatorArm6
. Where should I put
linkerOpts += "-ld64"
?
373 Views