Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs with Compose Multiplatform (Adaptive UI, File Picker, WebView, Permissions...).
Currently the AdaptiveDatePicker crashes on iOS when used with compose 1.7
Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Function 'UIKitView' can not be called: No function found for symbol 'androidx.compose.ui.interop/UIKitView|UIKitView(kotlin.Function0<0:0>;androidx.compose.ui.Modifier;kotlin.Function1<0:0,kotlin.Unit>?;androidx.compose.ui.graphics.Color;kotlin.Function1<0:0,kotlin.Unit>?;kotlin.Function2<0:0,kotlinx.cinterop.CValue<platform.CoreGraphics.CGRect>,kotlin.Unit>?;kotlin.Boolean;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){0§<platform.UIKit.UIView>}[0]'
at 0 FieldSpottrKt 0x109fe4c03 kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119 (/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28:44)
at 1 FieldSpottrKt 0x109fddd0b kfun:kotlin.Error#<init>(kotlin.String?){} + 115 (/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12:51)
at 2 FieldSpottrKt 0x10a01ae2b kfun:kotlin.native.internal.IrLinkageError#<init>(kotlin.String?){} + 115 (/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/RuntimeUtils.kt:138:51)
at 3 FieldSpottrKt 0x10a01aeef kfun:kotlin.native.internal#ThrowIrLinkageError(kotlin.String?){}kotlin.Nothing + 175 (/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/RuntimeUtils.kt:142:11)
at 4 FieldSpottrKt 0x10b56805f kfun:com.mohamedrejeb.calf.ui.datepicker#AdaptiveDatePicker(com.mohamedrejeb.calf.ui.datepicker.AdaptiveDatePickerState;androidx.compose.ui.Modifier?;androidx.compose.material3.DatePickerFormatter?;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>?;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>?;kotlin.Boolean;androidx.compose.material3.DatePickerColors?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 8715 (/Users/runner/work/Calf/Calf/calf-ui/src/iosMain/kotlin/com/mohamedrejeb/calf/ui/datepicker/AdaptiveDatePicker.ios.kt:32:9)
Currently the AdaptiveDatePicker crashes on iOS when used with compose 1.7