London Escorts sunderland escorts 1v1.lol unblocked yohoho 76 https://www.symbaloo.com/mix/yohoho?lang=EN yohoho https://www.symbaloo.com/mix/agariounblockedpvp https://yohoho-io.app/ https://www.symbaloo.com/mix/agariounblockedschool1?lang=EN
0 C
New York
Thursday, January 30, 2025

kotlin multiplatform – Use iOS library in KMP mission


I’m importing pure iOS libraries right into a KMP mission utilizing native CocoaPods Gradle plugin.
For instance:

cocoapods {
   ...
   pod("FirebaseCrashlytics") {
       model = "11.6.0"
       extraOpts = listOf("-compiler-option", "-fmodules")
   }
}

I can use them with none issues inside my shared module (iosMain).
Then I construct the shared framework utilizing multiplatform-swiftpackage library:

multiplatformSwiftPackage {
    swiftToolsVersion("5.9")
    distributionMode { native() }
    buildConfiguration { debug() }
    outputDirectory(File(rootProject.projectDir, "swiftpackage"))
    targetPlatforms {
        iOS { v("16") }
    }
}

and import it into Xcode utilizing Swift Package deal Supervisor.

I can construct the iOS app efficiently however whereas operating it crashes with this exception:

dyld[53857]: Library not loaded: @rpath/FirebaseCrashlytics.framework/FirebaseCrashlytics
  Referenced from: <14169435-4CE9-3CBB-9344-F647245BBB78>

I am getting the identical error on each library I’ve tried.

What am I lacking?

Thanks prematurely.

Related Articles

Social Media Auto Publish Powered By : XYZScripts.com