I have an issue when building my KMM Project w/ AppCenter.
To begin with, I have a sample Android & iOS application. I have integrated KMM into my Android sample project and manually configured the Multiplatform project to create an iOS framework, so as my iOS project to use it.
Furthermore, I have my Android and iOS in different repos and I have created a submodule into the Android repository in order to bring the iOS application inside the ΚΜΜ project folder.
The issue occurs, when I am trying to build my iOS Application in AppCenter (the automation platform I am using to build my projects), due to the fact that Android & iOS are in different GitHub repositories.
A small but unfortunately not very productive workaround, might be to manually create my iOS Framework and input it every single time in iOS, which is of course makes all the CI/CD process counterproductive.
Is there a way to have separate and synchronised repositories for Android & iOS for my ΚΜΜ project?
Thank you all!!
02/11/2021, 8:36 PM
Try using a git submodule?
02/12/2021, 8:16 AM
@Barco it says that he has a submodule in the Android repo in order to bring in the iOS repo.
I suppose the problem is with the automated build of the iOS repo.
02/12/2021, 8:31 AM
@ptsiogas exactly!! @Barco I already have a submodule in the Android
02/14/2021, 10:17 PM
Ah right, sorry I overlooked that. Seems to be an issue with your buildscript then, or AppCenter itself.