icerockdev / moko-resources

Resources access for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
1.11k stars 122 forks source link

ld: unknown options: -sdk_version #588

Closed storytellerF closed 1 year ago

storytellerF commented 1 year ago

build samples/compose-resources-gallery failed.

full log:

Task :macosApp:linkDebugExecutableMacosArm64 e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors

The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1. output: -macosx_version_min has been renamed to -macos_version_min ld: unknown options: -sdk_version

storytellerF commented 1 year ago

kotlin-ios-app have same error. And ios-static-xcframework build success.

codlab commented 1 year ago

The environment for kotlin needs to be bumped. Both kotlinVersion & composeVersion needs to be updated. You can find and edit the catalog version file in the gradle folder with the proper values

more information @ https://github.com/JetBrains/compose-multiplatform/releases