Hello :wave: I’m building an KMP Lib. I have asse...
# multiplatform
j
Hello 👋 I’m building an KMP Lib. I have assets under
commonMain/resources/files/frontend
. How do I need to configure Gradle to bundle these assets in the XCFramework and access them via
NSBundle
? I know it must be possible somehow, because of the composeResources, which are getting correctly included. Here is my current access code:
val basePath = NSBundle.mainBundle.resourcePath + "/files/frontend/"
Unfortunately, Moko resources isn't a fit for my use case since I also need to support the
mingw
target, which it currently doesn't support. Every help is appreciated 🙂