hey guys, did anyone ever encountered this error w...
# multiplatform
h
hey guys, did anyone ever encountered this error when running on iOS?
Copy code
> Task :resources:compileKotlinIosSimulatorArm64 FAILED
error: Could not find "org.jetbrains.compose.ui:ui-util" in [/Users/FunkyMuse/AndroidStudioProjects/KMMPlayground, /Users/FunkyMuse/.konan/klib, /Users/FunkyMuse/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.22/klib/common, /Users/FunkyMuse/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.22/klib/platform/ios_simulator_arm64]
hmmm, it seems that a dependency is missing, but why, it didn’t need it before to run 🤔 now it does
Copy code
implementation(compose.ui)
it was missing, but what changed, the project never referenced any compose code except
Copy code
androidx.compose.runtime.Composable
which i have as a dependency from
Copy code
implementation(compose.runtime)
it runs successfully on desktop and Android, but it does fail on iOS, unless i add the compose.ui dependency
weird