Kotlin / Kotlin/kmp-integration-sample
No more issues in KMM Login Sample
- Dominant language
- Kotlin
- Stars
- 121
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Review gradle.properties, the Gradle distribution setting, the project build.gradle, and the shared project build.gradle against the configuration listed in the issue. Confirm whether these changes resolve compiling and running the KMM sample on iOS, then document the verified setup or remaining requirements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system, mobile
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100