Skip to content

No more issues in KMM Login Sample #10

@prdp89

Description

@prdp89

Hi,

This may help some folks bcz I'd struggle to solve a couple of problems while compiling/running the project in iOS. Please check:

  1. Verify JDK version and update gradle home (in gradle.properties) java path as:
    org.gradle.java.home=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
    and set cacheKind as:
    kotlin.native.cacheKind.iosX64=none

  2. Verify Gradle distribution URL, for me:
    distributionUrl=https://services.gradle.org/distributions/gradle-7.2-bin.zip

  3. Verify you are at least using kotlin_version (project build.gradle):
    ext.kotlin_version = "1.5.31"

  4. Update shared project build.gradle to add iosSimulatorArm64 as(inside kotlin {..} block):
    iosSimulatorArm64("ios") {
    binaries {
    framework {
    baseName = "shared"
    }
    }
    }

Please update Thread if more changes are required in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions