bumble-tech / appyx

Model-driven navigation + UI components with gesture control for Compose Multiplatform
https://bumble-tech.github.io/appyx/
Apache License 2.0
1.13k stars 62 forks source link

Compilation fails when I try to run the Compose MultiPlatform project on the iOS simulator. #641

Open lumstep opened 11 months ago

lumstep commented 11 months ago

error: Compilation failed: no implementation for FUN MISSING_DECLARATION name:DerivedSetup visibility:public modality:FINAL <> () returnType:kotlin.Nothing in com.bumble.appyx.navigation.node.ParentNode

zsoltk commented 11 months ago

Hey @lumstep ,

This was discussed on slack: https://kotlinlang.slack.com/archives/C05FPNA6P27/p1699883454768869

We recommend using https://github.com/bumble-tech/appyx-starter-kit with its multiplatform branch as a starting point as it has everything set up to be working correctly.

Let me know if this helps.

sbenmeddour commented 9 months ago

You can add @HiddenFromObjC where Node, or ParentNode are declared or exposed

eamedina87 commented 9 months ago

This has been solved (at least for me) in version 2.0.0-alpha10. No need to add annotations, the error is gone and I'm able to run the app on iOS.