Hello, does anybody know why I’d get `NSInvalidArg...
# announcements
x
Hello, does anybody know why I’d get
NSInvalidArgumentException', reason: '*** -getValue: only defined for abstract class.  Define -[KotlinInt getValue:]!
error when using a Kotlin/Nativei library from Swift?
Copy code
fun testMap(): Map<Int, Int> {
    return mutableMapOf(
        Pair(0, 1))
}
v
Hi@Xabier Gorostidi .. did you solve this issue?, m also getting it.. but only in iOS11... works fine in iOS13
would be much helpful if can through some insight on this
x
Hi @Venkat , Bangalore , India and sorry for the delay. I didn’t fix it yet, I put that issue a little bit aside to focus on other projects, but somehow I’ll have to fix it. Did you find anything?
v
Hi @Xabier Gorostidi .. i have de scoped it for now.. but kotlin team logged it in their bucket to fix it. https://youtrack.jetbrains.com/issue/KT-36204
👍 1
x
It's gonna be fixed in v1.4.0, 1.4-M2 https://github.com/JetBrains/kotlin-native/pull/3964