-
Notifications
You must be signed in to change notification settings - Fork 96
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
Use mokoMvvmFlowSwiftUI with framework #260
Comments
hi. you can have regular framework integration of KMM module and add cocoapod
or you can just download https://repo1.maven.org/maven2/dev/icerock/moko/mvvm-flow-swiftui/0.16.1/mvvm-flow-swiftui-0.16.1.zip and use mokoMvvmFlowSwiftUI.framework from this archive |
Based on this issue I copy-pasted these files in my project and everything worked now. I also changed "import MultiPlatformLibrary" to "import Shared" in every file, which was the import of my shared kmm project. |
Hello, can you tell me where you pasted them? I tried copying them to the root of the iOS project, but it still doesn't let me import mokoMvvmFlowSwiftUI. It says 'No such module 'mokoMvvmFlowSwiftUI'' |
Try to copy paste them inside PikApp folder. |
It worked! Thank you! I copied them into Sources folder (under PikApp folder) and added them as a target in the Package.swift file. I'm new to iOS side of things, so there may probably a more correct apprach; but hey, it works! :) |
I have started a KMM project using "Regular Framework" as "iOS framework distribution". Can I use the mokoMvvmFlowSwiftUI library in this project or I should change to "Cocoapods"? Is it an easy way to implement it?
The text was updated successfully, but these errors were encountered: