Is anyone using Composite build with Multiplatform...
# multiplatform
b
Is anyone using Composite build with Multiplatform? We are developing 3 apps, along with a framework that will support them. In order to develop the framework with three clients at once, we are trying to use composite builds, so that changes are reflected across all three projects at once, while we are doing a lot of refactoring. e.g. in our settings we have:
includeBuild("../framework-shoebox")
And then in the module we are including it like normal:
api(libs.aughtone.framework.shoebox)
however, the main build is not resolving all the targets in the composite, so we get the error we're all familiar with:
Copy code
:composeApp:iosArm64Main: Could not find io.github.aughtone:framework-shoebox:1.0.0-alpha1.
Required by:
    project :composeApp > project :features
Does anyone have any experience with setting this up? it appears that the composite is simply not including the rest of the modules dependencies, or doesn't understand the structure of a multiplatform module. Note: it only seems to be the iOS variants that are not visible.
t
I would advice you to open a Kotlin issue with repro
b
Thanks. I am not sure what the problem was here, but I took it all apart and went through everything again from the ground up and it started working. At this point I'm assuming user error, although I don't know exactly what the problem was.