PreCompose: Ios app running failed with PreCompose
While trying to run the app in ios simulator i’m getting this error
> Task :shared:compileKotlinIosSimulatorArm64 FAILED
error: Could not find "co.touchlab:stately-common" in [/Users/macbookair/projects/Trackfit-Compose, /Users/macbookair/.konan/klib, /Users/macbookair/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.0/klib/common, /Users/macbookair/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.0/klib/platform/ios_simulator_arm64]
error: Compilation finished with errors
how to solve this issue?
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 21 (8 by maintainers)
Thank you for your effort I appreciate it, with version 1.5.4 and updating koin dependencies to the latest available versions and now it works perfectly on both platforms.
There’s a new release 1.5.4(sorry for pushing that many releases) you can try and should works.
As for this, you might need to check your dependencies.
I think problem is in precompose viewmodel and koin integration dependencies. Because i’ve tried it again but still failing while trying to run it on ios. android is ok. Currently i’ve removed both dependencies.
I’ve fixed it. I had to remove
precompose-koinandprecompose-viewmodeldeps