# multiplatform


06/05/2022, 12:50 AM
all of a sudden one of my multiplatform libraries decided that it thinks cocoapods isn’t installed when it definitely is. the strange thing is that another multiplatform library isn’t complaining. So I have 2 intelliJ windows open for two different multiplatform libraries. One of them runs “podInstall” without issue and the other one thinks cocoapods insn’t intalled. literally no code changes. one minute it was working, the next minute it starts giving this error. Any ideas? I’ve done invalidate and restart and restart the laptop even. I don’t really have anything to even go on here. It’s installed and it’s telling me it’s not installed. Where can I even look for a problem?
this is such a big blocker. my entire project is unusable now and absolutely nothing I can do about it. all that work down the drain.
well it seems if I update the gradle wrapper version the cocoapods error goes away but I get a different error
Execution failed for task ':compileDebugJavaWithJavac'.
farout. haha. can’t win. This is also weird because previously I was getting that error too on one of the libraries but not the other one and the fix was to downgrade the gradle wrapper version. Then both libs were happy. Now that doesn’t seem to be an option anymore.
ok I fixed that one using updated version of in settings.gradle.kts.
crisis averted.
I think dependency management and versioning is going to be one of the challenges with KMP. so many different libs with different versions.
one of the other problems I was trying to solve before all this stuff came up is another dependency issue. I was trying to use in two multiplatform libs which are both imported into the same client project. it worked fine on android but ios complained about this lib. It only complained if I used the lib in both multiplatform libs.
and turns out that error with the multiplatform settings lib just went away after I made those other changes. so that’s nice.


06/05/2022, 7:34 PM
this is such a big blocker. my entire project is unusable now and absolutely nothing I can do about it. all that work down the drain.
I hope you realize that KMM is in a alpha state. So yes, your whole work might go down the drain at some point. 😉


06/05/2022, 10:12 PM
yes I do realise it’s alpha but there’s nothing I can do about that is there? pretty much everything I’ve done so far in software has gone down the drain. I’m kind of used to it now frankly. I spend months learning something, and then it gets replaced by something else. but it’s still super annoying. probably I’m gonna have to learn react native anyway. as cool as KMP is I think it’s just not gonna get there in time and not enough support from other platforms. We need to work together but it seems it’s mainly android that wants to use it. In my workplace anyway the ios devs don’t care for it and react native is coming in. even in the face of react native they don’t even want to hear about it. blows my mind. somehow I’ve managed to get to a point where I can work on a KMP POC at work but yeah I think it’s never gonna take off; not enough support and not as mature as RN. Sorry if I came across the wrong way in my above posts.