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

Charles Jo

04/02/2024, 6:16 PM
Hi, is it possible to add iOS frameworks as embed when build KMM module?
-moduleA(shared)
-- iOS native library by cinterop
-- framework (add using .framework file locally that the iOS native library require)
-moduleB(shared, is used in iOS app directly, add dependency of  moduleA using implementation(project..))
When I run iOS app, I face the linker error issue in moduleB. When use a feature of the native library of moduleA in module2, the native library’s feature doesn’t find symbol that comes from the framework.