Firebase Undefined Symbols for Architecture X86_64

Firebase Undefined symbols for architecture x86_64

It seems to be a glitch with derived data. I quitted out of Xcode, I removed all Derived Data in /Users/USER_NAME/Library/Developer/Xcode/PROJECT_NAME

Restarted Xcode, compiled and all works as expected, no need to change anything in Active Architecture Only or anything.

Firebase Analytics Undefined symbols for architecture x86_64: _OBJC_CLASS_$_FIRAnalytics

I finally solved this by clearing out the Framework Search Paths under the project’s Build Settings. See: https://github.com/firebase/firebase-ios-sdk/issues/7614#issuecomment-786827116

Undefined symbols for architecture x86_64 while implementing firebase messaging in Libgdx ios module

FirebaseInstallations framework is missing from you libs folder as indicated in the second line of your error log.

Also the following list of frameworks are needed to use the messaging-robopod.

    <framework>FIRAnalyticsConnector</framework>
<framework>FirebaseAnalytics</framework>
<framework>FirebaseCore</framework>
<framework>FirebaseCoreDiagnostics</framework>
<framework>FirebaseInstallations</framework> <!-- !-->
<framework>FirebaseMessaging</framework>
<framework>GoogleAppMeasurement</framework>
<framework>GoogleDataTransport</framework> <!-- ! -->
<framework>GoogleDataTransportCCTSupport</framework> <!-- ! -->
<framework>GoogleUtilities</framework>
<framework>nanopb</framework>
<framework>PromisesObjC</framework>
<framework>Protobuf</framework>

Make sure you include all of these. The GoogleDataTransportCCTSupport might not be mandatory.

Undefined symbols for architecture arm64: | Firebase/Unity/Xcode

After over 10 hours of research and trial and error I've found the solution. This is probably going to answer hundreds of questions I've seen all over the place that have not been answered. Here we go:

On Mac the issue for me was the Cocoapods failing when trying to Build and Run. Which created all of the errors in Xcode.

Step By Step:

  1. Open your Xcode project. (Leave open the entire time)
  2. Locate your Xcode project folder in Finder.
  3. Right click on the folder and select "New Terminal at Folder"
  4. If you have an M1 chip type "sudo arch -x86_64 gem install ffi" then "arch -x86_64 pod install" Other wise for Intel "pod install".

You should now see a bunch of green! All of the gems for the framework should be installed.

You will then have a workspace project in your build folder from unity and you can fully build your project in Xcode without it failing.

Hope this helps!

build error trying to add Firebase to iOS app, Undefined symbols for architecture x86_64: _OBJC_CLASS_$_FIRApp

So I gave up on getting the pod to work and instead followed,

https://firebase.google.com/docs/ios/setup#frameworks

downloaded SDK from,
https://firebase.google.com/download/ios

This was way way easier and simple to setup and worked the first time.
Just added the FirebaseAnalytics directory to the project as a group and added the Firebase.h file to the project, that's it. Works.

React Native Firebase Analytics: Undefined symbols for architecture x86_64

It turned out that my setting for a config plugin (that writes configurations for native projects) was wrong.

firebase-ios-sdk requires the usage of frameworks. To specify this on a managed Expo project, you need to install a config plugin called expo-build-properties and edit the plugin property of app.json like following:

[
"expo-build-properties",
{
"ios": {
"useFrameworks": "static"
}
}
]

In my original code, instead of static, I specified dynamic, which was causing the error.

Firebase iOS - Undefined symbol: _GULResetLogger (arm64)

After hours of debugging I was finally able to work around this by doing the following:

  1. Downgrade to Xcode 11.7 (explained here)
  2. Clean install dependencies (explained here)
  3. Clean Build Folder in under the Product menu in Xcode.

I still was not able to run the app on my device because iOS 14 is not supported by Xcode 11 (MobileDeviceErrorDomain error -402653150). Here is how I fixed this:

  1. Install Device Support files for iOS 14.0 (explained here)
  2. Unpair device from Xcode
  3. Restart iPhone
  4. Clean Build Folder

691 duplicate symbols for architecture x86_64

Change the Podfile to:

pod ‘Firebase/Analytics’
pod 'Google-Mobile-Ads-SDK'

Firebase/AnalyticsWithoutAdIdSupport and Google-Mobile-Ads-SDK is not a supported combination. Google-Mobile-Ads-SDK requires Ad Support.



Related Topics



Leave a reply



Submit