MohamedRejeb / Calf

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...).
https://mohamedrejeb.github.io/Calf/
Apache License 2.0
869 stars 38 forks source link

Compose Multiplatform 1.7.x warning in xcode builds #138

Closed ZacSweers closed 1 month ago

ZacSweers commented 1 month ago

When building against the upcoming compose multiplatform 1.7 alphas, I see this warning when building an iOS app

Showing Recent Issues
<io.github.alexzhirkevich:cupertino-native> @ /Users/alexzhirkevich/projects/compose-cupertino/cupertino-native/src/iosMain/kotlin/io/github/alexzhirkevich/cupertino/CupertinoPickerNative.kt:46:5: 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]'
ZacSweers commented 1 month ago

Sorry wrong project!