Saud K
banner
bidyut.com
Saud K
@bidyut.com
Engineering Lead. Polyglot. Experimenter.
👋🏽 hello hello
May 10, 2025 at 4:42 PM
Got burned by that too. Had to switch everything over to Cocoapods and in the process lost NSExceptionKt since that only works with SPM.
April 21, 2025 at 2:10 AM
May be it is just me but, sometimes it all reads like an opportunity to manufacture code so that you can do all the maintenance work.... Which wouldn't exist otherwise at the beginning of newly written code
April 19, 2025 at 3:39 PM
If you are writing a library I recommend trying to go as old as possible. Most supporting libraries can still go back to 21 but it is starting to shift to 23.

If you are writing an app use what works for you. According to apilevels.com targetting 26 can easily get you to 95%+ devices.
April 5, 2025 at 10:58 AM
No such thing as a silver bullet, agreed
March 16, 2025 at 10:59 PM
I keep hoping one day Compose can be compiled to native instead of dex and then apps can skip JVM completely. I'd love to see Android Native thrive.
March 16, 2025 at 3:53 PM
Also the generated framework has to be a direct decedent of the podspec parent; i.e. if the generated podspec uses ../ to get to the framework Cocoapods will not load it correctly. 5/
February 22, 2025 at 8:21 AM
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/
February 22, 2025 at 8:18 AM
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 Kotlin slack said it isn't officially supported. 3/
February 22, 2025 at 8:15 AM
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/
February 22, 2025 at 8:10 AM
Thanks. Mine is blank dinner I don't regularly wear it to sleep
January 3, 2025 at 11:41 AM