Tlaster / PreCompose

Compose Multiplatform Navigation && State Management

Home Page:https://tlaster.github.io/PreCompose/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS App Build Failure with Precompose ViewModel Library

msomu opened this issue · comments

I encountered an issue while trying to build the iOS app with the Precompose ViewModel library 1.5.1. The error message I received is as follows:

e: Compilation failed: Generation of stubs for class org.jetbrains.kotlin.ir.symbols.impl.IrTypeParameterPublicSymbolImpl is not supported yet

 * Source files: 
 * Compiler version: 1.9.0
 * Output kind: FRAMEWORK

This error is preventing me from proceeding with the build. I'm seeking guidance on any possible workarounds or solutions to resolve this issue and successfully build the iOS app. FYI, the android app runs well and there are no issues with the android app.

The kotlin version was first 1.9.10 and i changed it to 1.9.0 still the issue is present.

Are you using inline version of viewModel in composable function? If so can you try non inline version of viewModel and see if it works?

Close as inactive, reopen if you still have the same issue.