Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kotlin Multiplatform error :shared:linkDebugFrameworkIosSimulatorArm64

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.
output:
ld: unknown options: -ios_simulator_version_min -sdk_version 

I didn't do any changes to the project after creating it.

like image 653
franks Avatar asked May 15 '26 09:05

franks


1 Answers

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.

like image 61
Kevin Galligan Avatar answered May 16 '26 22:05

Kevin Galligan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!