Anyone with a large monorepo setup interested in discussing dev/CI build configuration strategies for consuming KMP shared libraries? Specifically one or more KMP shared libraries plus Android & iOS apps in the one repo.
On the Android side this is straightforward because our Android apps are able to pull in the KMP shared lib modules with relative paths using Gradle.. but on the iOS side it becomes more complex. We briefly considered KMMBridge, but we do not pre-build & deploy our internal shared libraries, we use the current git head as the source of truth and rely on Gradle’s (very good) build caching to keep our build times fast.
The obvious solution seems to be Xcode build phases that call
embedAndSignAppleFrameworkForXcode
Gradle tasks for the required KMP shared lib(s) as mentioned in
these docs, but I’d love to hear from anyone who has done this with large teams and/or at scale and hear any advice you may have or gotchas to look out for