question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SDK Setup Instructions

See original GitHub issue

I have managed to setup my multiplatform project with this library for Android with no issues and it works great so far! However, iOS is giving me the following error when I try to build the app

ld: framework not found FirebaseFirestore

which I believe is similar to some of the other issues I’ve seen in this repo.

Would it be possible to include working setup instructions for iOS?

My setup for Android is exactly the same as the usual Firebase guide so I imagine iOS would be the same but I’m probably missing an important step somewhere in between. I should also mention that I have a multi-module project and Firebase is setup as a standalone module to be linked to the rest of the app.

Thanks very much for building the SDK and I’m hoping to have iOS working the same way as Android 🙏

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

8reactions
suntrixcommented, May 15, 2022

When I set the framework to static the linker issue goes away.

kotlin {
    android()

    listOf(
        iosX64(),
        iosArm64(),
        iosSimulatorArm64()
    ).forEach {
        it.binaries.framework {
            baseName = "AppShared"
            isStatic = true
        }
    }

    sourceSets {
        ...
    }
1reaction
clarksandholtzcommented, Jul 1, 2022

WOW THIS THREAD IS A LIFE SAVER.

Thanks a bunch @suntrix and @gchristov for finding the fix and posting it here!

I think we should definitely get this stuff added to the README as it is essential to get the project working and googling for the errors this solves leads to old posts with answers that didn’t work for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SDK Installation Instructions - ONE Technical Documentation
Installation Steps · Open the web browser · Navigate to: https://www.oracle.com/in/database/technologies/xe-downloads.html · Click Oracle Database 18c Express ...
Read more >
Installing the SDK - IBM
Procedure · Extract the contents of the SDK zip archive. · From within the SDK folder, run the install.sh script as root: ./install.sh....
Read more >
SDK Installation Instructions - Developer Central - Verifone
Step1. Select Plugins · Step 1 ; Step 2. Select install plugin from disk · Step 2 ; Step3. Select the SDK zip...
Read more >
Install Android Studio - Android Developers
Complete the Android Studio Setup Wizard, which includes downloading the Android SDK components that are required for development.
Read more >
Setup Instructions — connectSDK documentation
Requirements¶. This guide assumes basic familiarity with Cordova (PhoneGap), Xcode, and Eclipse. For a more detailed walkthrough of setting up a Cordova ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found