Hello everyone. I am trying to implement a compose...
# compose
a
Hello everyone. I am trying to implement a compose multiplatform library and currently stuck on resource generation (xml icons) for ios. I have created my library in android studio and added cocoapods at first. after many attempts (including cleans, pod installs and releasing pods) I couldn't be able to create the xml icon resources for ios. Finally, I gave up on cocapods and turned everything to XCFramework. Although, no matter what I did, I could not be able to generate that icon resources on ios. Android works fine but nothing works for ios. I have came into this issue https://slack-chats.kotlinlang.org/t/10503022/why-does-this-crash-on-ios-image-painter-painterresource-ima but that didn't worked either. I can share my gradle if anyone wants including my project structure. I am desperate to any solution, so any help is appreciated. Additionally, I am using compose.components.resources, not any kind of third party.
z
FYI #compose-ios
a
I gave up in the end and hardcoded vector drawable to kotlin. I check platform (android/ios) and use according between xml and kt (this one for showing the usage purposes, I know that I can use the same vector.kt on both)