Hello! I’m using compose 1.6.10-beta02 with `compo...
# compose
g
Hello! I’m using compose 1.6.10-beta02 with
compose.components.resources
and
cocoapods
to share the CMP module.
androidApp
and
desktopApp
runs fine, but
iosApp
fails with:
Copy code
Uncaught Kotlin exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: .../Library/Developer/CoreSimulator/Devices/72BBFDFF-8A49-4E5C-8B31-6D4E15312D29/data/Containers/Bundle/Application/13415EF2-8FB8-40C7-AF7C-3904BACEA495/iosApp.app/compose-resources/composeResources/expressus.shared_ui_compose.generated.resources/font/led_panel_panels_station_on.ttf
I’ve the same setup in another project and it works. It uses
XCFramework
could it be related?
1
Screenshot 2024-04-27 at 14.45.09.png
a
I have a similar issue with my project. There seems to be something odd going on with the latest kotlin and/or multiplatform version. I opened a GH issue here: https://github.com/JetBrains/compose-multiplatform/issues/4704 Basically I added specific xcode files into the pods folder to get myself unblocked..
g
Mine is here. I’ve noticed podfile added the wrong path for the resources, but even after changing it to the right one it doesn’t work. I have no idea what could it be, the remaining files and paths from build folders look ok 🤷
a
That actually was solved for me when I updated my framework name to match the folder the framework is located (e.g. shared folder for the framework would result in "shared" for its name)