My build works fine via xcode build.
But with react-native run-ios I see the following error.
Undefined symbols for architecture x86_64:
"_GULResetLogger", referenced from:
_FIRResetLogger in libFirebaseCore.a(FIRLogger.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ios/Podfile
:# N/A
AppDelegate.m
:- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[FIRApp configure];
......
[RNFirebaseNotifications configure];
}
....
android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
ADD_SOMETHING_HERE
e.g. iOS 10 or Android API 28N/A
N/A
N/A
ADD_SOMETHING_HERE
e.g. Xcode 10, Android Studio 3.2React Native
version:ADD_SOMETHING_HERE
React Native Firebase
library version:ADD_SOMETHING_HERE
Firebase
module(s) you're using that has the issue:TypeScript
?N/A
ExpoKit
?ExpoKit
N/A
Think react-native-firebase
is great? Please consider supporting the project with any of the below:
React Native Firebase
and Invertase
on Twitter@manujbahl, include the following line in your Podfile:
pod 'GoogleUtilities', '= 5.3.6'
Thanks @berkcoker, it works great. Do you know what is the root cause?
Had the same issue after upgrading to RN 0.59
The culprit is version 5.4.0. I started getting this error after doing pod repo update
I am using react native version 0.58.6, but getting the same issue. What should I do to resolve this??
Hello 馃憢, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.
Most helpful comment
@manujbahl, include the following line in your Podfile:
pod 'GoogleUtilities', '= 5.3.6'