https://kotlinlang.org logo
#appyx
Title
# appyx
l

Lukas Anda

11/13/2023, 1:50 PM
Hey guys, are you also getting this exception when compiling for iOS from Android Studio?
Copy code
error: java.lang.IllegalStateException: no implementation for FUN MISSING_DECLARATION name:DerivedSetup visibility:public modality:FINAL <> () returnType:kotlin.Nothing
in com.bumble.appyx.navigation.node.Node
As for my configuration, I used the latest output from Compose Multiplatform Wizard, which uses Kotlin 1.9.10 and Compose 1.5.1, appyx version is 2.0.0-alpha09 @Zsolt
m

Manel Martos Roldan

11/13/2023, 3:32 PM
Hi @Lukas Anda. Make sure you've latest versions for everything: • Android Studio -
AS Giraffe | 2022.3.1 Patch 2
• Kotlin Multiplatform Mobile Plugin -
0.8.0(223)-25
• XCode -
15.0.1
I've also find this issue with same error you've mentioned.
l

Lukas Anda

11/13/2023, 3:38 PM
Hi, yes I came across the same issue. It is weird that if I create a new project from scratch, it works for some reason. On the same configuration. So it must be that some dependencies don’t like it or something
z

Zsolt

11/13/2023, 3:41 PM
Hey @Lukas Anda also FYI: https://github.com/bumble-tech/appyx-starter-kit if you just want something to quickly clone and start modifying (it has 2 branches, 1 for Android only, 1 for multiplatform setup).
l

Lukas Anda

11/13/2023, 3:45 PM
Thank you, I’ll have a look
@Zsolt this is interesting, I don’t think it is an issue with kotlin version or some library, but instead something else as it only happens when I include a class that does extends ParentNode(). Would you like me to create a reproducible example?
m

Manel Martos Roldan

11/14/2023, 8:28 AM
Hi @Lukas Anda! It would be really helpful for us! With that, we will do our best to address the issue you're encountering.
b

Bobby Hargett

11/24/2023, 1:22 PM
@Manel Martos Roldan Hi I am having the issue that was discussed above. The repo can be found here -> https://github.com/brh/KMPRadio I am using the latest version Android Studio Beta (Hedgehog 2023.1.1) and there are no other outstanding updates. warning: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: shared. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag. 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 * Source files: * Compiler version: 1.9.20 * Output kind: FRAMEWORK error: java.lang.IllegalStateException: no implementation for FUN MISSING_DECLARATION name:DerivedSetup visibility:public modality:FINAL <> () returnType:kotlin.Nothing in com.bumble.appyx.navigation.node.ParentNode at org.jetbrains.kotlin.backend.konan.llvm.objcexport.ObjCExportCodeGeneratorKt.findImplementation(ObjCExportCodeGenerator.kt:1797) at org.jetbrains.kotlin.backend.konan.llvm.objcexport.ObjCExportCodeGeneratorKt.createDirectAdapters$getAllRequiredDirectAdapters(ObjCExportCodeGenerator.kt:1783)
I upgraded to 1.9.21 and 1.5.11 and still have the same issue.
m

Manel Martos Roldan

11/24/2023, 3:05 PM
Hey @Bobby Hargett. Have you created the repo using
Kotlin Multiplatform Wizard
?
I highly recommend you create new project using our
appyx-starter-kit
one, as some dependencies introduced by the wizard aren't working quite well with ours. We're actively investigating how to solve the issue. Hope it helps you.
b

Bobby Hargett

11/24/2023, 3:39 PM
No I forked the compose mpp project on GitHub. It was working when I forked the project but then when I add appyx the iOS portion to stop working.
m

Manel Martos Roldan

11/24/2023, 3:41 PM
Then try to fork
appyx-starter-kit
using
mutliplatform
branch
3 Views