Describe your environment
Describe the problem
I installed pod 'Firebase/Analytics', '6.15.0' and I am facing a lot of problems that you can see below:
Undefined symbols for architecture x86_64:
"_GULResetLogger", referenced from:
_FIRResetLogger in FirebaseCore(FIRLogger.o)
"_GULIsLoggableLevel", referenced from:
_FIRIsLoggableLevel in FirebaseCore(FIRLogger.o)
"_GULSetLoggerLevel", referenced from:
_FIRSetLoggerLevel in FirebaseCore(FIRLogger.o)
"_GULLoggerRegisterVersion", referenced from:
___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
"_GULLoggerInitializeASL", referenced from:
___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
"_GULLogBasic", referenced from:
_FIRLogBasic in FirebaseCore(FIRLogger.o)
"_GULLoggerEnableSTDERR", referenced from:
___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
"_GULLoggerForceDebug", referenced from:
___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
"_OBJC_CLASS_$_GULAppEnvironmentUtil", referenced from:
objc-class-ref in FirebaseCore(FIRApp.o)
objc-class-ref in FirebaseCore(FIRBundleUtil.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I already have tried to change to another old versions, but that problem happens too.
That is my Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
def firebase_pods
pod 'Firebase/Analytics', '6.15.0'
end
target 'MyTarget' do
firebase_pods
end
I found a few problems with this issue:
Hi @itsector-esanti, can you share your Podfile and Podfile.lock file to check the versions?
@itsector-esanti, I wasn't able to reproduce the issue on my end. Could you provide detailed steps to replicate it as well as the iOS version used? You may also share the complete stack trace.
@itsector-esanti I noticed the Podfile you gave in the first comment is different from the attached Podfile - can you please confirm which one is causing you trouble?
Also, a pod update may be required to ensure all recent dependencies are being pulled in.
Hello @ryanwilson
Yes, you noticed well. It's because I just changed my local branch. But I am having the same problem.
Does pod update help at all? We're unable to reproduce the issue on our end. If it doesn't, trying a blank project and seeing if it works for you would help determine if it's a machine specific problem or a project specific problem.
I suspect the CocoaPods warning about OTHER_LDFLAGS is related to the problem.
Perhaps a $inherited needs to be added to the project settings
Yes, it was.
People, thank you very much for you help!
Most helpful comment
Yes, it was.
People, thank you very much for you help!