Hi all, could use help setting up Orbit MVI on KMM...
# orbit-mvi
s
Hi all, could use help setting up Orbit MVI on KMM. • orbit-sample-posts-multiplatform project doesn't seem to build for iOS off the bat. ◦
unable to open file (in target "iosApp" in project "iosApp")
• When following sample project & adding to Podfile : ◦
pod 'sharedOrbitSwift', :path => '../shared'
◦ In running
pod install
get: ▪︎
No podspec found for "sharedOrbitSwift" in "../shared"
orbit-swift-gradle-plugin, What's it for? Is it necessary to run Orbit MVI in KMM? Readme doesn't say much. • Here's my sample project. I'm a big Orbit fan(placed you guys on various awesome-lists 😄). I promise to write up adequate documentation covering KMM setup once we figure this out. (I'm counting on you guys sticking around.) (See my sample project Readme as reference) Thanks!
👍 1
a
KMM support is kinda still a work in progress - Orbit core itself compiles and will run but we don't have documentation in place for how someone can use it. The gradle plugin is there to create a wrapper around Kotlin for use in SwiftUI... basically flows become Combine Producers. I'm supposed to be updating the plugin today as currently it only works on Kotlin 1.5.31 and I'm part way through getting it working under 1.6.10
🥳 1
🙏 1
s
Thanks for letting me know Matthew!
g
@appmattus ping me back when published so I can try it 🙂