Hi, I have an issue, json files from shared/common...
# multiplatform
d
Hi, I have an issue, json files from shared/commonMain/resources are not copied into iOS build and I have no clue how to fix it 😞
m
You want to share the json file between multiple platforms by placing it in the shared module ?
d
Yes, I would like to
m
I was able to do it by dragging and dropping resources folder into xcode But you'll have to do this each time you change something in the resources folder
then I started using cmp resources
I read the json and parse it using compose resources in the shared module then I pass the parsed object to each platform 😄
🤣 1
I found the first weird solution here: https://luisramos.dev/how-to-share-resources-kmm
👍 1
d
@Muaz KADAN thank you so much for this I added resource folder and copy it in xcode, and as a result I can see resources folder under iosApp and the application is working now, I can update the file and I can see the changes inside the app
m
Great, happy to hear that 😄