Smorg
03/04/2025, 10:46 PMerror: KLIB resolver: Could not find "~/Library/Caches/Amper/.m2.cache/org/jetbrains/kotlinx/kotlinx-serialization-core-iossimulatorarm64/1.8.0/kotlinx-serialization-core-iossimulatorarm64-1.8.0.klib"
configuration looks like this:
settings:
kotlin:
serialization: json
Not sure what I might be doing wrong 🤔Joffrey
03/04/2025, 10:52 PMmodule.yaml
?
5. Which command gives you this result?Smorg
03/04/2025, 10:59 PM1. JetBrains Amper version 0.5.0+e7ace8b
2. Standalone CLI tool
3. Mac ARM
4. module.yaml content
5. amper build
module.yaml content
product:
type: lib
platforms: [android, iosSimulatorArm64]
dependencies:
- $compose.foundation: exported
- $compose.material3: exported
- org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.8.4
- cafe.adriel.voyager:voyager-navigator:1.1.0-beta03
- cafe.adriel.voyager:voyager-screenmodel:1.1.0-beta03
- cafe.adriel.voyager:voyager-koin:1.1.0-beta03
- io.insert-koin:koin-core:4.0.0: exported
- com.russhwolf:multiplatform-settings-no-arg:1.2.0
- com.russhwolf:multiplatform-settings-coroutines:1.2.0
- com.russhwolf:multiplatform-settings-make-observable:1.2.0
- io.ktor:ktor-client-core:3.1.1
- io.ktor:ktor-client-content-negotiation:3.1.1
- io.ktor:ktor-serialization-kotlinx-json:3.1.1
- io.ktor:ktor-client-logging:3.1.1
- org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0
dependencies@android:
- androidx.activity:activity-compose:1.7.2: exported
- androidx.appcompat:appcompat:1.6.1: exported
- $compose.preview: exported
- io.ktor:ktor-client-okhttp:3.1.1
dependencies@ios:
- io.ktor:ktor-client-darwin:3.1.1
settings:
compose: enabled
kotlin:
serialization: json
Joffrey
03/04/2025, 11:00 PMJoffrey
03/04/2025, 11:01 PMserialization: json
with serialization: enabled
? (you're already adding the json format yourself in your dependencies).Joffrey
03/04/2025, 11:03 PMJoffrey
03/04/2025, 11:04 PMorg.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0
with $kotlin.serialization.json
to align the version with the bundled serializationJoffrey
03/04/2025, 11:04 PMSmorg
03/04/2025, 11:06 PMJoffrey
03/04/2025, 11:09 PMSmorg
03/04/2025, 11:10 PMSmorg
03/04/2025, 11:27 PMJoffrey
03/04/2025, 11:28 PMJoffrey
03/04/2025, 11:29 PMtylerwilson
03/05/2025, 5:40 PMJoffrey
03/05/2025, 5:45 PMFix version: {Next Amper version}
- not ideal, but should work 😆