I'm integrating firebase into my react native application, basically for authentication and firestore database. Although I followed the installation instructions from the React Native Firebase, when I tried to build from the xcode, it gives me an error:

ld: framework not found FIRAnalyticsConnector clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm using Pods to build the project. Any help on this?

1 Answers

KTB On Best Solutions

I found the solution to the question. It's just adding the .framework files into the linked framework.


from the xcode, open the Pods folder,


Pods -> Pods -> FirebaseAnalytics -> Frameworks -> FIRAnalyticsConnector.framework

** enter image description here

and add that file into the General -> Linked Frameworks and Libraries. enter image description here