Hi guys :wave: I'm trying to port my android libra...
# ksp
r
Hi guys 👋 I'm trying to port my android library to KMP. I have published it to maven local with iOS targets and JVM. I can run my desktop Compos app (even though there's another issue I may talk in another thread), but the iOS target fails on the KSP task. It seems like all annotation arguments with defaults are null. I am using ksp 2.0.0-1.0.21, but I also tried with 1.9.24-1.0.20. Is this because on iOS target, it is using my library's iOS target too, and the default value is missing from there? 🤔 Is there a way to fix it?
👆 1
Seems related to this, maybe? 🤔 https://github.com/google/ksp/issues/885
j
for non jvm platforms, default values are missing from metadata so we can’t retrieve it, it has been a known issue.
r
I understand.. is it a hard thing to fix? Or is it a matter of priorities?
j
it requires upstream compiler fix.
r
Hmm so in the language itself you mean?
j
not language but compiler
r
Sorry yeah, I meant the language compiler.. my terminology is not great I guess ahah
Ok that’s fine then.. my processor has to know the default values I guess 😅
✅ 1
j
we can revisit it once compiler fix is landed, it is targeted at 2.1.0 which I guess will be end of year.
r
Great, thank you