Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No more issues in KMM Login Sample #10

Open
prdp89 opened this issue Jan 21, 2022 · 0 comments
Open

No more issues in KMM Login Sample #10

prdp89 opened this issue Jan 21, 2022 · 0 comments

Comments

@prdp89
Copy link

prdp89 commented Jan 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant