Hi really trying to find out why i get this error ...
# compose-ios
f
Hi really trying to find out why i get this error
Copy code
Uncaught Kotlin exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: hide-eye-icon-filled.xml
with the
"org.jetbrains.compose.components:components-resources"
dependency. This should work
painterResource("hide-eye-icon-filled.xml")
Is it because of the use of the moko library that I use for strings? I had to add a script in xcode build phase for it to work.
Copy code
"$SRCROOT/../gradlew" -p "$SRCROOT/../" :shared:copyFrameworkResourcesToApp \
    -Pmoko.resources.PLATFORM_NAME="$PLATFORM_NAME" \
    -Pmoko.resources.CONFIGURATION="$CONFIGURATION" \
    -Pmoko.resources.ARCHS="$ARCHS" \
    -Pmoko.resources.BUILT_PRODUCTS_DIR="$BUILT_PRODUCTS_DIR" \
    -Pmoko.resources.CONTENTS_FOLDER_PATH="$CONTENTS_FOLDER_PATH"
d
f
Now I am certain that the moko resources library is causing this issue. I have added the moko dependencies and it caused the same errors with
compose-multiplatform.xml
. And when I commented out the plugin and dependencies of moko it worked.