I setup a KMP project but I can't start the iOS Simulator. Android works perfectly. When trying to run the iOS the following gradle task fails:
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
ld: unknown options: -ios_simulator_version_min -sdk_version
I didn't do any changes to the project after creating it.
You're probably using Xcode 15 and an older version of Kotlin. If on Xcode 15, bump Kotlin to 1.9.10. Alternatively, install Xcode 14.3.1.