Norbel AMBANUMBEN
05/23/2025, 2:09 PMdesktopMain depend on appleMain since i need to use platform.* as part of shared code for both iOS and macOS .
Has anyone tried something like this before. Here is a sample repo with what i am trying to accomplish.
https://github.com/aanorbel/kmp-apple-main-desktop/blob/main/composeApp/build.gradle.kts#L40ephemient
05/23/2025, 2:20 PMplatform.* is Kotlin Native only. desktopMain is JVM, you will not be able to use Kotlin Native functionalityNorbel AMBANUMBEN
05/23/2025, 2:21 PMplatform.* on the macOS portion of the desktop App.ephemient
05/23/2025, 2:23 PMNorbel AMBANUMBEN
05/23/2025, 2:25 PM