Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on iOS #13

Open
Stevespear426 opened this issue Aug 20, 2024 · 1 comment
Open

Error on iOS #13

Stevespear426 opened this issue Aug 20, 2024 · 1 comment

Comments

@Stevespear426
Copy link

Getting a crash on iOS after updating to latest Compose and Kotlin

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]'
Uncaught Kotlin exception:     at 0   News                                0x105b24937        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119 
    at 1   News                                0x105b1dd5b        kfun:kotlin.Error#<init>(kotlin.String?){} + 115 
    at 2   News                                0x105b5874f        kfun:kotlin.native.internal.IrLinkageError#<init>(kotlin.String?){} + 115 
    at 3   News                                0x105b58807        kfun:kotlin.native.internal#ThrowIrLinkageError(kotlin.String?){}kotlin.Nothing + 163 
    at 4   News                                0x10589f6cb        kfun:com.multiplatform.webview.web#IOSWebView(com.multiplatform.webview.web.WebViewState;androidx.compose.ui.Modifier;kotlin.Boolean;com.multiplatform.webview.web.WebViewNavigator;kotlin.Function0<kotlin.Unit>;kotlin.Function0<kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){} + 4771 
    at 5   News                                0x10589e2ab        kfun:com.multiplatform.webview.web#ActualWebView(com.multiplatform.webview.web.WebViewState;androidx.compose.ui.Modifier?;kotlin.Boolean;com.multiplatform.webview.web.WebViewNavigator?;kotlin.Function0<kotlin.Unit>?;kotlin.Function0<kotlin.Unit>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 3151 
    at 6   News                                0x10588661f        kfun:com.multiplatform.webview.web#WebView(com.multiplatform.webview.web.WebViewState;androidx.compose.ui.Modifier?;kotlin.Boolean;com.multiplatform.webview.web.WebViewNavigator?;kotlin.Function0<kotlin.Unit>?;kotlin.Function0<kotlin.Unit>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 3675 
    at 7   News                                0x106f2338b        kfun:io.github.ilyapavlovskii.multiplatform.youtubeplayer#YouTubePlayer(androidx.compose.ui.Modifier?;io.github.ilyapavlovskii.multiplatform.youtubeplayer.YouTubePlayerOptionsBuilder?;io.github.ilyapavlovskii.multiplatform.youtubeplayer.YouTubePlayerHostState;kotlin.Function1<io.github.ilyapavlovskii.multiplatform.youtubeplayer.model.YouTubeEvent,kotlin.Unit>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 4319 
@Stevespear426
Copy link
Author

Seems like its an issue in the webview

KevinnZou/compose-webview-multiplatform#196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant