Hi there,
I have a KMP library that is targeting android, apple, windows. Now, I am building sample app that only purpose is to check whether my KMP library functionality is working fine or not and it is targeting android, iOS, & macOS.
Now, the issue is that for generating macOS build I need to target compose desktop as per documentation said. So, I generated an app and while running app on MacOS I noticed that it is targeting jvmMain platform in my library rather then appleMain platform.
Any leads that I can make it possible that when I am generating .dmg (through compose desktop) it can only target appleMain in my library?
đź‘€ 1
f
François
11/13/2024, 1:56 PM
Compose Desktop app uses JVM for running
François
11/13/2024, 1:57 PM
Applemain is more for iOS/tvOS/warchOS…
François
11/13/2024, 1:59 PM
desktopMain is a alias for jvmMain
a
Ali Azaz Alam
11/13/2024, 2:15 PM
Then how can I run my ios app for macos. Any configuration needed at ios side?
f
François
11/13/2024, 4:17 PM
can you run it from xcode? an iOS app who run on macOS is considered as a iOS app, not a desktop app