luca992/multiplatform-swiftpackage

unknown options: -ios_simulator_version_min -sdk_version

tristangrichard opened this issue · 3 comments

./gradlew createSwiftPackage fails with
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
ld: unknown options: -ios_simulator_version_min -sdk_version

since macOS 14

Updating dependencies to the latest helped

@tristangrichard do you mind sharing what kind of dependencies you updated?

I don't recall exactly what did the trick but from I can in the commit that I bumped to following versions:

kotlin("multiplatform").version("1.9.10").apply(false)
kotlin("plugin.serialization") version "1.9.10"
id("io.github.luca992.multiplatform-swiftpackage") version "2.1.4"
jvmTarget = "17"