Hi there, I have a KMP library that is targeting a...
# multiplatform
a
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
Compose Desktop app uses JVM for running
Applemain is more for iOS/tvOS/warchOS…
desktopMain is a alias for jvmMain
a
Then how can I run my ios app for macos. Any configuration needed at ios side?
f
can you run it from xcode? an iOS app who run on macOS is considered as a iOS app, not a desktop app