Hello, after migrating to AGP 9 & upgrading a ...
# multiplatform
c
Hello, after migrating to AGP 9 & upgrading a few dependencies. I am getting error
Copy code
*** Terminating app due to uncaught exception 'kotlin.internal.IrLinkageError', reason: 'Function 'keyDecoder' can not be called: Expression uses unlinked class symbol 'dev.whyoleg.cryptography.materials.key/KeyDecoder|null[0]''
CoreSimulator 1051.50 - Device: iPhone 17 Pro (2A056773-EAFA-43CD-B06F-F9855ADFA78E) - Runtime: iOS 26.4 (23E254a) - DeviceType: iPhone 17 Pro

Can't show source file for stack frame 3: uncaught_exception_handler.cold.1
The file path does not exist on the file system: /Users/runner/work/1/s/Source/PLCrashReporter.m
Im not able to figure out whats causing this. Adding
Copy code
iosMain.dependencies {
    implementation("dev.whyoleg.cryptography:cryptography-core:<version>")
    implementation("dev.whyoleg.cryptography:cryptography-provider-apple:<version>")
}
is not helping. Any one else has this issue?
a
Since you just moved to AGP 9, which enforces Kotlin 2.1+ (and likely you are on Kotlin 2.2/2.3 based on current 2026 standards) the compiler is finding a signature for
keyDecoder
that doesn't match the metadata of the
materials
package it expects. Also make sure you are you are using the latest cryptography version
c
Hii, I think I have figured out the issue. Its a dependency mismatch, KSafe is still using version 0.5.0 while Supabase has bumped it to 0.6.0, the upcoming version pf KSafe will be compiled for 0.6.0 so this should be resolved soon