Hello guys in a KMM project, i am unable to read t...
# moko
b
Hello guys in a KMM project, i am unable to read the image resource on the iosApp however it is working on the androidApp. I am getting the following error
Uncaught Kotlin exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: compose-multiplatform.xml
what could be the issue. It looks like the issue is happening whenever i add moko-resource
It looks like there is a conflict when adding moko, i can’t access xml image resource using compose pinterRessouce
j
Has development on this library stopped? I’m also having this issue and haven’t found any resources explaining how to fix it.
b
@Jonathan i have migrated to
<https://github.com/Skeptick/libres>
j
Does this work for projects that don't use Podfile? The new compose-multiplatform-mobile template no longer uses CocoaPods by default.
Looks like this project requires CocoaPods which I want to avoid if I can
a
development not stopped, but i work on library only on weekends when i have time. in work days i not have time for it
m
I’m also facing this issue,
Copy code
Uncaught Kotlin exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: compose-multiplatform.xml
do we have a fix for this? cc : @alex009
a
your exception throwed by compose-resources module, not by moko-resources. now compose and moko use single directory for resources -
src/commonMain/resources
. you can decide to use only moko-resources or only compose-resources to break conflict. with new version of moko-resources (0.24.0) we move moko-resources folder to
src/commonMain/moko-resources
and it will not conflict with compose-resources
b
@alex009 Any release date?
a
i can't say any dates now, i too busy in workdays and just try move this forward at weekends
b
@alex009 any update on this