v

    Vivek Modi

    6 months ago
    Hey everyone what is the d/w
    iosX64(),iosArm64() and iosSimulatorArm64()
    in kmm gradle file. Can someone explain ?
    val xcf = XCFramework()
    listOf(
        iosX64(),
        iosArm64(),
        iosSimulatorArm64()
    ).forEach {
        it.binaries.framework {
            baseName = "kotlinmultiplatformsharedmodule"
            xcf.add(this)
        }
    }
    hfhbd

    hfhbd

    6 months ago
    This are the different iOS targets: • iOSX64: iOS simulator on macOS with Intel x64 • iOSArm64: real iPhone • iOSSimulatorArm64: iOS simulator on macOS with Apple Silicon M1
    v

    Vivek Modi

    6 months ago
    thanks @hfhbd
    Landry Norris

    Landry Norris

    6 months ago
    I've seen iosArm64 work on a simulator on M1, but I don't know if there's any possible issues with that. Helps when a library you need doesn't have an iosSimulatorArm64 target.