Hi everyone. Is it still true that an iOS app can ...
# multiplatform
b
Hi everyone. Is it still true that an iOS app can only have one dependency on a KMP framework? I know that used to be the case, because (I think) it would cause naming collisions in the Kotlin std library. If you had multiple KMP dependencies, you had to create a separate module to act as an "umbrella module", pull the KMP dependencies in, and then produce a single framework that the app could use. Is that still the case, or has that issue been resolved?
h
Still true
👍 1
f
It’s the same for non KMP library, it’s not a particularity, we must avoids collision.
☝️ 1
r
You can have multiple frameworks just fine. It's just that they get namespaced separately so they can't talk to each other.
h
Okay, technically you can use multiple frameworks that’s right, but you can’t pass an instance of one kotlin class to the other framework and you will have increased bytecode due to multiple dependencies like std lib.