zsmb
05/13/2025, 9:44 AMUndefined symbols for architecture arm64
), a quick summary:
• You should first try upgrading the libraries that you see showing up in the related error messages. You can find out which library the build is failing on by looking at what shows up right after referenced from:
in the build output.
◦ Lots of libraries that use Compose Multiplatform have already shipped builds with 1.8.0 that will resolve the issue if you upgrade to them. This includes Koin, Coil, Decompose, Circuit, etc.
• If you depend on a library using Compose Multiplatform that causes this issue and doesn't have a new release yet, adding kotlin.native.cacheKind=none
to gradle.properties
temporarily fixes the issue of debug builds for native. Remember to remove this later once you update library versions, as it negatively affects build times.
◦ Please let us know which libraries are still causing this issue for you (if any), so that we can keep track of them and hopefully have them ship updates soon.zsmb
05/13/2025, 9:46 AMUndefined symbols for architecture arm64:
"_kfun:androidx.compose.material3#androidx_compose_material3_ButtonDefaults$stableprop_getter$artificial(){}kotlin.Int",
_*referenced from: kfun:com.mmk.kmpauth.uihelper*.apple#AppleSignInButtonIconOnly(androidx.compose.ui.Modifier?;com.mmk.kmpauth.uihelper.apple.AppleButtonMode?;androidx.compose.ui.graphics.Shape?;kotlin.Function0<kotlin.Unit>;androidx.compose.runtime.Composer?;And here are some examples of library updates that I've seen people needing so far: • https://github.com/InsertKoinIO/koin/releases/tag/4.1.0-Beta11 • https://github.com/coil-kt/coil/releases/tag/3.2.0 • https://github.com/arkivanov/Decompose/releases/tag/3.4.0-alpha01 • https://github.com/slackhq/circuit/releases/tag/0.28.0 • https://github.com/mirzemehdi/KMPAuth/releases/tag/v2.4.0-alpha01 • https://github.com/mikepenz/multiplatform-markdown-renderer/releases/tag/v0.34.0 • https://github.com/mikepenz/AboutLibraries/releases/tag/12.1.2
sigmadelta
05/14/2025, 1:36 PM