Anyone using latest XCode 15 beta 5? Was having issues so created new project using KMM plugin and see same issue when building in XCode.
John O'Reilly
07/28/2023, 5:27 PM
I'll dig deeper (and maybe still something in my setup here) but fwiw this is error I'm seeing
Copy code
> Task :common:compileKotlinIosSimulatorArm64
> Task :common:linkDebugFrameworkIosSimulatorArm64
error: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
Please try to disable compiler caches and rerun the build. To disable compiler caches, add the following line to the gradle.properties file in the project's root directory:
kotlin.native.cacheKind.iosSimulatorArm64=none
Also, consider filing an issue with full Gradle log here: <https://kotl.in/issue>
The /Applications/Xcode-beta.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
> Task :common:linkDebugFrameworkIosSimulatorArm64 FAILED
error: Compilation finished with errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':common:linkDebugFrameworkIosSimulatorArm64'.
> Compilation finished with errors
John O'Reilly
07/28/2023, 5:30 PM
I tried adding various gradle propertles suggested as test but in end still got following error