Is there a way I can add files to xcode assets folder directly from Android Studio, without using any 3rd party libraries like moko-resources?. At the moment I have to add the json file to the resources folder in commonMain and in the Assets folder at xcode.
j
Jeff Lockhart
01/10/2024, 1:02 AM
You can configure Gradle to copy the resources to your Kotlin framework directory. I gave an example in this comment.
Jeff Lockhart
01/10/2024, 1:04 AM
Then you can access the resources using
bundleWithIdentifier
and your framework bundle ID. See my comment here for details.