Working on my first fully kotlin/kmp/compose app f...
# compose-ios
c
Working on my first fully kotlin/kmp/compose app for ios and android. I need to display a bitmap image in my app. Do I need to use moko resources dependency, or is there some other recommended solution at this point?
Currently if I follow some tutorials I end up getting org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: myimage.png on ios. while it works on android
ł
m
Use compose 1.5.0 with regular framework and add the compose resources dependency, everything should work fine. Also avoid using resources from multiple modules, it's not supported yet for iOS.
c
alright. i cloned the compose multiplatofrm ios template like over a week ago, so i guess i should bite the bullet and get rid of cocoapods. 😅
f
@mohamed rejeb Even though I only use resources from one module (shared) I still get an error when using org.jetbrains.compose.resources with moko resources in iOS
☝️ 1