I have a json file in a compose multiplatform app in the resources folder and from my understanding,...
n
I have a json file in a compose multiplatform app in the resources folder and from my understanding, it is available to all the platforms. I am reading the json file using the code
Copy code
val fileBytes = resources("file.json").readBytes()
The code works on desktop and Android but I am getting a
MissingResourceException
on iOS. Is this behavior expected or am I missing something?
r
did you do
pod install
on
iosMain
?
n
No I did not
Do I need to?
I navigated to iosMain and got the error
no Podfile
found