I wanted to verify before I go down this path. Th...
# multiplatform
d
I wanted to verify before I go down this path. There is no limitation on multiple KMM XCFrameworks being used in an iOS project, correct? It used to be that you could have only one.
s
IIRC, you can have multiple ones, correct. But you still can't have multiple instances of the same transitive dependencies. Eg there are 3 frameworks, A, B and C. A depends on C and exposes C (transitive). B depends on C and exposes C as well (transitive). This will result in issue with 'duplicate' code from C in your iOS project.
d
Got it, thanks.
a
You can do an umbrella framework that has multiple kmm modules as dependencies in the common level Then gradle will handle transitive dependencies And output single framework with no duplicate code But It will add some overhead of maintaining the umbrella framework project
d
Thanks for the suggestion. I'll consider it.