Hi everyone. I’m trying to config the new KMM proj...
# multiplatform
t
Hi everyone. I’m trying to config the new KMM project. We have a plan to make both the android and iOS versions, but the iOS app should be started after the android app is done. So the issue is: - I remove all configs about the native target in the Gradle build file (please take a look at the picture below). - If I delete the part from 11-19, the androidMain can not see commonMain. - On the other hand, if I keep it, the “expect” function will complain that I have no “actual” implementation in iOS. I want to declare all “expect” functions and implement them in android first. After that when my team has an iOS developer I will implement it in iOS. Please help me. Thanks in advance.
k
android()
configures
androidMain
that depends on
commonMain
already, you can probably drop 29-31 configuration.
n
You can also keep the iOS target and fill the
actual
methods in iosMain with some
TODO()
t
Thank you @Nicolas Patin I forgot it 🫠