Most of my free time last week was taken by dealing with a multiplatform multimodule project that occasionally succeeds in building the iOS app.
So far things I have learnt; a brain dump 1/
Most of my free time last week was taken by dealing with a multiplatform multimodule project that occasionally succeeds in building the iOS app.
So far things I have learnt; a brain dump 1/
Using Cocoapods is the easiest way to add an iOS dependency specially if you need to access the framework from Kotlin.
However, currently this means everytime the IDE does a Gradle sync it builds those frameworks. Anyone knows how to stop that it would be awesome. 2/
If you are doing that you MUST include the KMP framework using a podspec. If you don't you get a warning and mostly works but when you deal with a dependencies coming from different modules the final build seems to be random.
Didn't do an RCA when I found in Kotlin slack that the blend is not officially supported. 3/
Additionally all the dependencies from the various modules have to be added to the umbrella KMP module.
The dependencies can actually be skipped in Podfile as the development podspec will correctly list the dependencies. 4/