Mobile app architecture (iOS/Android) at UpKeep - Kotlin Multiplatform for code reusability + RIBs (Router Interactor Builder) for scalability. Part 1 of a 2-part series on iOS architecture at UpKeep.
On iOS are you using one umbrella framework or separate separate .framework/pod for each usecase. I have heard that in case you create multiple .frameworks from kotlin code and use it in iOS then iOS app may crash. What is your experience?
we use umbrella/single framework for all the "mobile-common" code coming from KMP. We have a build phase in our xcode project where it basically runs ./gradlew :mobile-shared:embedAndSignAppleFrameworkForXcode and embeds it into the ios project. The KMP code is pulled into the ios project as git submodule.
On iOS are you using one umbrella framework or separate separate .framework/pod for each usecase. I have heard that in case you create multiple .frameworks from kotlin code and use it in iOS then iOS app may crash. What is your experience?
we use umbrella/single framework for all the "mobile-common" code coming from KMP. We have a build phase in our xcode project where it basically runs ./gradlew :mobile-shared:embedAndSignAppleFrameworkForXcode and embeds it into the ios project. The KMP code is pulled into the ios project as git submodule.