Ismail BENABDALLAH
06/21/2024, 8:37 AMPablichjenkov
06/21/2024, 8:47 AM.xcframework or .framework
each, and then import them in the iosApp Xcode project independently. However, that will duplicate the KMP runtime in each framework increasing App size and may lead to name clashes in some of your classes too.
The recommended approach is using one umbrella framework. Traditionally this umbrella module is named shared
or composeApp
more recently. The umbrella module would group all the modules your project has and will export them in a single .framework
file that you integrate in your Xcode project.Ismail BENABDALLAH
06/21/2024, 9:04 AMPablichjenkov
06/21/2024, 9:23 AMruntime injected twice
You would have to go the umbrella approach or try to compile against the Kotlin runtime dynamically
. That way it is not included in your binary but expected to be provided by the system at runtime.Lucas Prioste
06/21/2024, 1:40 PMIsmail BENABDALLAH
06/21/2024, 1:51 PM