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
2 C
New York
Wednesday, January 29, 2025

ios – ld: framework ‘FirebaseCore’ not discovered


I’ve a kmm app that makes use of Firebase.

Within the android challenge, the packages are discovered within the construct course of, the issue is with the ios app.

When I attempt to construct the iOS app, I obtain the error:

> Job :shared:checkSandboxAndWriteProtection
> Job :shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Job :shared:compileKotlinIosArm64 UP-TO-DATE
> Job :shared:xcodeVersion UP-TO-DATE

> Job :shared:linkDebugFrameworkIosArm64 FAILED
warning: Can not infer a bundle ID from packages of supply information and exported dependencies, use the bundle identify as a substitute: shared. Please specify the bundle ID explicitly utilizing the -Xbinary=bundleId=<id> compiler flag.
error: /Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
Please attempt to disable compiler caches and rerun the construct. To disable compiler caches, add the next line to the gradle.properties file within the challenge's root listing:
    
    kotlin.native.cacheKind.iosArm64=none
    
Additionally, think about submitting a difficulty with full Gradle log right here: https://kotl.in/difficulty
The /Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
ld: warning: ignoring duplicate libraries: '-lcompression', '-ldl', '-lz'
ld: framework 'FirebaseCore' not discovered
error: Compilation completed with errors

FAILURE: Construct failed with an exception.

* What went flawed:
Execution failed for job ':shared:linkDebugFrameworkIosArm64'.
> Compilation completed with errors

In my app I’ve the most recent variations of Kotlin and Firebase:

kotlin {
    androidTarget()
    
    listOf(
        iosX64(),
        iosArm64(),
        //iosSimulatorArm64()
    ).forEach {
        it.binaries.framework {
            baseName = "shared"
        }
    }

plugins{
    kotlin("android").model("2.0.21").apply(false)
    kotlin("multiplatform").model("2.0.21").apply(false)
}

sourceSets {
        val commonMain by getting {
            dependencies {
                implementation("dev.gitlive:firebase-firestore:2.1.0")
                implementation("dev.gitlive:firebase-common:2.1.0")
                implementation("dev.gitlive:firebase-auth:2.1.0")
                implementation("dev.gitlive:firebase-functions:2.1.0")
            }
        }

The FirebaseCore is current in hyperlink Binary with Libraries from Xcode:
enter image description here

Additionally in Frameworks targets:

enter image description here

Additionally I take advantage of the final model of Firebase SDK iOS 11.6.0:

enter image description here

Additionally once I import FirebaseCore in swift for my app, every thing goes as anticipated, I may even go contained in the FirebaseCore import and test their code.

Model of gradle:

distributionUrl=https://companies.gradle.org/distributions/gradle-8.9-bin.zip

What could possibly be the issue of:
ld: framework ‘FirebaseCore’ not discovered

Related Articles

Social Media Auto Publish Powered By : XYZScripts.com