Hello there, I’m a first time developer with KMM, ...
# multiplatform
a
Hello there, I’m a first time developer with KMM, I’m trying to setup KMM, however I keep running into an issue where it says:
Copy code
output:
ld: unknown options: -ios_simulator_version_min -sdk_version 
error: Compilation finished with errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:linkDebugFrameworkIosSimulatorArm64'.
> Compilation finished with errors

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at <https://help.gradle.org>

BUILD FAILED in 19s
2 actionable tasks: 1 executed, 1 up-to-date

** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution Run\ Script /Users/az0r234/Desktop/Repos/kmm_proof_of_concept/TestMultiplatform/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-7555FFB5242A651A00829871.sh (in target 'iosApp' from project 'iosApp')
(1 failure)
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'iosApp' from project 'iosApp')
should have been fixed in Kotlin 1.9.10
a
Unfortunately i’m still getting the same error
d
What is KMM?
😁 2
b
To fix this error, I went to an older version of XCode - 14.3.1.
j
You need to make sure the Kotlin plugin for gradle is also on 1.9.10 I think. Basically just search the whole project for your kotlin version and change it to 1.9.10