Vince
10/05/2023, 3:12 AMThe following build commands failed:
PhaseScriptExecution Run\ Script /build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-7555FFB5242A651A00829871.sh (in target 'iosApp' from project 'iosApp')
(1 failure)
Stack seems to suggest it was a JVM issue but I updated to Java 21 in the studio settings and that's not working either. What simple thing did I overlook?marzelwidmer
10/05/2023, 4:35 AMVince
10/05/2023, 3:47 PMjvmToolchain(17)
doesn't exist in my project, should I add it?
Also this is in the build.gradle.kts
android {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
I was able to update the Gradle JDK to jbr-17The /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