Closed kinber95 closed 1 year ago
hello. compiled cocoapod with swiftui additions require dynamic framework. you use static. you can just copy this swift files https://github.com/icerockdev/moko-mvvm/tree/master/mvvm-flow/apple/xcode/mokoMvvmFlowSwiftUI inside your project. and remove mokoMvvmFlowSwiftUI cocoapod
Thanks for the fast reply, I added all the files but Xcode can't find the StringDesc
type in ViewModelStateNullable
. I try to add the flow-resources
module, but that didn't help.
did you add moko-resources to export
list?
also if you not use StringDesc - you can just remove this extensions
Yea but that didn't help, so I just remove this extensions. Thanks for the help
Since May you can use Compose code for your iOS App (Alpha), I try to set it up with the moko mvvm library but I get this error:
cocoapods set up in gradle
Note: You need to use isStatic = true, otherwise the compose code is not found in the iOS Module
The versions I use:
Xcode: 14.3.1
iOS: 16
AndroidStudio Flamingo
Kotlin: 1.8.20
Gradle: 8.0.1
Compose Multiplatform: 1.4.0
Moko MVVM: 0.16.1
I tried some of the other solutions, but there are not compatible with the new compose feature.