https://kotlinlang.org logo
#moko
Title
# moko
b

brabo-hi

09/27/2023, 1:12 AM
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

Jonathan

10/03/2023, 8:36 PM
Has development on this library stopped? I’m also having this issue and haven’t found any resources explaining how to fix it.
b

brabo-hi

10/04/2023, 12:47 AM
@Jonathan i have migrated to
<https://github.com/Skeptick/libres>
j

Jonathan

10/04/2023, 12:51 AM
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

alex009

10/04/2023, 3:18 PM
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

msomu

10/08/2023, 10:49 AM
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

alex009

10/09/2023, 11:41 AM
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

brabo-hi

10/09/2023, 3:40 PM
@alex009 Any release date?
a

alex009

10/09/2023, 4:14 PM
i can't say any dates now, i too busy in workdays and just try move this forward at weekends
b

brabo-hi

10/25/2023, 8:01 PM
@alex009 any update on this
6 Views