Farid Benhaimoud
08/27/2023, 8:53 PMUncaught 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.
"$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"
Dima Avdeev
08/28/2023, 4:47 PMFarid Benhaimoud
08/28/2023, 9:18 PMcompose-multiplatform.xml
. And when I commented out the plugin and dependencies of moko it worked.