Hi guys, I want to debug an issue related to Kotli...
# kotlin-native
p
Hi guys, I want to debug an issue related to Kotlin/Native on iOS, so I want to use local built KN in my gradle multiplatform project, is there any guide about how to do this? Thank you!
Okay, I did that by the following steps: 1. follow the build guide in README at https://github.com/JetBrains/kotlin-native, but adding
test.disable_update=true
in
gradle.properties
before running
./gradlew dependencies:update
, otherwise it will fail by accessing jetbrains internal site; 2. after build successfully, copy everything under
dist
into
~/.konan/kotlin-native-macos-1.3.71
(I'm using macOS and kotlin 1.3.71);
s
You can also specify custom distribution location using
kotlin.native.home
Gradle project property.
👍 1
Also consider using proper kotlin-native repo branch, e.g.
v1.3.70-fixes
.
p
Hi Svyatoslav, thank you for the reply! I need debug some issue on
1.3.71
, is the tag
v1.3.71
okay?
s
It should be.
p
okay, thank you!