Hi everyone, I receive this error when I run the p...
# multiplatform
s
Hi everyone, I receive this error when I run the project on iOS, can someone help me? Especially what is this:
Could not find "org.jetbrains.compose.ui:ui-uikit-cinterop-utils"
h
Just add the compose.ui library as a dependency
s
it is there
h
That's in the common main, in the iOSMain part
s
again failed
do I need to add anything else here? iosMain.dependencies { implementation(SQLDelight.nativeDriver) implementation(compose.ui) }
h
Nope, you can remove the compose ui also
Do you have other modules that you consume, like project modules? Try adding it there in common main
s
sorry for my questions (I'm an iOS Developer, now switching to KMM), but can you bring example of modules that can be?
h
Different modules like
:shared
s
I have buildSrc
Screenshot 2024-01-31 at 16.32.56.png
h
No not that, that's build related
Like composeApp
s
no I don't have
my problem from your differ by
yours: "org.jetbrains.compose.ui:ui-util"
mine: "org.jetbrains.compose.ui:ui-uikit-cinterop-utils"
h
Maybe try invalidate caches and restart then do a clean build and disable caching Did this problem just occur or it's from a while, if so, did you upgrade any dependencies?
Do you have isStatic for iOS?
s
yes it is true
after last time running on iOS I have added some dependencies
s
I found the reason,
api("io.github.qdsfdhvh:image-loader:1.7.3")
was the problem
🚀 1
Thank you very much
h
You're welcome