> Task :linkDebugFrameworkIos warning: linking ...
# kotlin-native
k
Task :linkDebugFrameworkIos
warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 0]' from /Users/krisw/.konan/kotlin-native-macos-1.3.60/konan/targets/ios_x64/native/debug.bc with '[2 x i32] [i32 13, i32 2]' from out) warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 0]' from /Users/krisw/.konan/kotlin-native-macos-1.3.60/konan/targets/ios_x64/native/strict.bc with '[2 x i32] [i32 13, i32 2]' from out) warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 0]' from /Users/krisw/.konan/kotlin-native-macos-1.3.60/klib/common/stdlib/targets/ios_x64/native/runtime.bc with '[2 x i32] [i32 13, i32 2]' from out) warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 0]' from /Users/krisw/.konan/kotlin-native-macos-1.3.60/klib/platform/ios_x64/posix/targets/ios_x64/native/cstubs.bc with '[2 x i32] [i32 13, i32 2]' from out) warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 0]' from /Users/krisw/.konan/kotlin-native-macos-1.3.60/klib/platform/ios_x64/Foundation/targets/ios_x64/native/cstubs.bc with '[2 x i32] [i32 13, i32 2]' from out)
There is a library attached to the project that was compiled with an older Kotlin/Native compiler and can't be read in IDE: "TelemetryModule.klib" at $project/build/classes/kotlin/ios/main/TelemetryModule.klib Please edit Gradle buildfile(s) to use Kotlin Gradle plugin version 1.3.60. Then rebuild the project and re-import it in IDE.
my gradle file specifies 1.3.60
k
Was
elemetryModule.klib
built with 1.3.60?
k
i have done all manner of clean and rebuild, so it should have been
k
I mean is
TelemetryModule.klib
a library from another project, or are you building it?
k
it's the output of my project
k
Not sure. I was seeing the ‘(’[2 x i32] [i32 13, i32 0]' ' warning in one of my libraries, but my whole day got sidetracked on something else. Will be getting back to that later. Does
TelemetryModule.klib
itself maybe have problematic dependencies?
k
the only deps are kotlin libraries and stately+collections (which I had updated to 0.9.4)
k
I’ll get back to you. I saw similar warnings earlier, so maybe I’ll see something else similar
👍 1
r
I've also seen those warnings but didn't block anything.
1
k
My local builds are working. I’d triple check that the klib is also built with 1.3.60. I get those warnings, but the builds complete and all tests work regardless
👍 1
a
I suppose this is a bug in a new AbiChecker feature. https://youtrack.jetbrains.com/issue/KT-34969. Which IDE do you use?
v
I have the same question
1.3.60
Copy code
Task :linkDebugFrameworkIOSArm64
warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 2]' from /var/folders/ds/2v9832g575jblpl14n7p3nxh0000gn/T/protocols3108039485156635603.bc with '[2 x i32] [i32 13, i32 0]' from out)
k
confirming I am receiving the above warnings, but things seem to be functioning as expected, at least in my tests
s
Same for me ☝️
k
Got the same intellij warning but I kind of ignore those at this point