adrielcafe / voyager

🛸 A pragmatic navigation library for Jetpack Compose
https://voyager.adriel.cafe
MIT License
2.31k stars 109 forks source link

iOS build error #342

Closed joreilly closed 2 months ago

joreilly commented 3 months ago

Getting following error building iOS client (using version 1.1.0-alpha03 in shared KMP code)....all other clients build ok.

> Task :composeApp:kspKotlinIosSimulatorArm64 FAILED
e: Could not find "androidx.annotation:annotation" in [/Users/joreilly/dev/github/ClimateTraceKMP, /Users/joreilly/.konan/klib, /Users/joreilly/.konan/kotlin-native-prebuilt-macos-aarch64-2.0.0-Beta2/klib/common, /Users/joreilly/.konan/kotlin-native-prebuilt-macos-aarch64-2.0.0-Beta2/klib/platform/ios_simulator_arm64]
joreilly commented 3 months ago

Seeing issue in this branch fwiw https://github.com/joreilly/ClimateTraceKMP/tree/voyager

Syer10 commented 3 months ago

You need to add the google() repository as listed in the Compose changelogs https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.6.0-rc01

joreilly commented 3 months ago

I do have that repository included....do see following so maybe an issue...

org.jetbrains.compose.runtime:runtime:1.6.0-beta01 -> 1.6.0-rc03
joreilly commented 2 months ago

Just to confirm that it was tha tissue.....merged now to https://github.com/joreilly/ClimateTraceKMP