robjperez
09/29/2021, 9:15 AMval isIdeaSyncing = System.getProperty("idea.sync.active") != null
    if (isIdeaSyncing) {
        iosX64("ios")
    } else {
        ios()
        iosX64()
        iosArm64()
    }
Well, with that, when I try to run a test in iosTest folder I got this error
FAILURE: Build failed with an exception.
* What went wrong:
Task 'cleanIosTest' not found in project ':sdk'.
Probably because on how I define the targets, but If remove above’s snippet with the iOS targets, then the code which is exclusive for simulator or device is not built
Any clues?? Thank you!Luis
09/30/2021, 12:29 AMios() is a shortcut for all the iOS targets, so not sure how gradle handles that!
This is how I have it on my project
val iosTarget: (String, KotlinNativeTarget.() -> Unit) -> KotlinNativeTarget =
        if (System.getenv("SDK_NAME")?.startsWith("iphoneos") == true)
            ::iosArm64
        else
            ::iosX64robjperez
09/30/2021, 8:51 AM