Xcode fails to run Kotlin Multiplatform project after upgrading Compose to 1.8.0 — Undefined symbol error
10:25 11 May 2025

I have a Kotlin (Compose) Multiplatform project targeting iOS , Android And Desktop. Everything was working fine until I upgraded JetBrains Compose to version 1.8.0. Now, when I try to build and run the iOS target using Xcode, I get the following linker error:

Undefined symbol: _kfun:androidx.compose.animation.core#androidx_compose_animation_core_MutableTransitionState$stableprop_getter$artificial(){}kotlin.Int

•   This error appears when launching from Xcode.
•   Everything still works fine on Android & Desktop.
•   I’m using Kotlin 2.1.20 and Compose Multiplatform 1.8.0.

I tried: • Cleaning and rebuilding the project • Invalidating caches

Is there anything new or required in Compose 1.8.0 to support KMM + iOS? Has anyone faced similar linker issues?

Any help or workaround is appreciated.

kotlin-multiplatform compose-multiplatform