https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

Alex Acosta

03/20/2024, 6:23 PM
Hi, related to having resources in
commonMain
and share these between JVM (Android) & native (iOS & mac). It is working for Android, I am getting in native (iOS)
Couldn't get path of demo/index.html (parsed as: demo/index.html)
Is there a default way to let native access these resources? I tried setting src dirs inside
nativeMain
, I really don't want to use moko resources
I am also getting this warning but I don't know how to fix but I think it is related:
Copy code
Path [/Users/seacosta/Dev/Web/Valkyrie/sharedValkyrie/src/commonMain/resources] of module [Valkyrie.sharedValkyrie.commonMain] was removed from modules [Valkyrie.sharedValkyrie.nativeMain, Valkyrie.sharedValkyrie.main]" Also 6 more paths were deduplicated. See idea log for details