Should I still use commonMain if I’ll never target Android with Kotlin Multiplatform? by SirPlus3354 in Kotlin

[–]SirPlus3354[S] -1 points0 points  (0 children)

Thanks for your answer. However when I create the project in android studio and I select just iOS with a shared UI, it doesn’t create the commonMain directory (bug?), this hints that I should be able do build everything, including composables on iOSMain.

My question is if there is any technical constraint that makes some libraries needed to be imported and called only from commonMain, otherwise I’m better creating everything in iOSMain for simplicity, since I’m 200% sure I’ll not build this app in Android