https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
g

georgi

03/23/2024, 10:06 PM
👋 Heya! I'm working on a modularised multiplatform app (iOS + Android) and am curious about how people manage the shared KMM framework for iOS, specifically the
embedAndSignAppleFrameworkForXcode
gradle task. My project exposes an umbrella framework to iOS which all works fine. However, I also have a modularised iOS project with feature modules. Each iOS feature module is a separate Xcode project and requires access to the shared KMM framework. The problem is that I have to add
embedAndSignAppleFrameworkForXcode
to all my iOS modules in order to build/test them independently. Then a final call to
embedAndSignAppleFrameworkForXcode
is also needed for the main
app
iOS module to ensure the generated code is signed properly. Is this expected for this setup? Is there an cleaner approach I'm missing?
6 Views