firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.56k stars 1.45k forks source link

Showing Recent Issues Undefined symbol: _OBJC_CLASS_$_FIRApp firebase Carthage ios #6765

Closed vijayvishesh closed 3 years ago

vijayvishesh commented 3 years ago

Step 0: Are you in the right place?

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

What happened? How can we make the problem occur? This could be a description, log/console output, etc.

If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.

Relevant Code:

// TODO(you): code here to reproduce the problem

Undefined symbols for architecture x86_64: "_OBJCCLASS$_FIRApp", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

google-oss-bot commented 3 years ago

I found a few problems with this issue:

paulb777 commented 3 years ago

@vijayvishesh Sorry that you're having problems. Please make sure that FirebaseCore.xcframework is linked into the app. This is almost certainly a configuration issue. Please review that you have followed the instructions.

We'll likely need a reproducible example to provide more assistance.

vijayvishesh commented 3 years ago

FirebaseCore.xcframework

Undefined symbols for architecture x86_64: "_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) "_OBJCCLASS$_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)

maksymmalyhin commented 3 years ago

@vijayvishesh now GoogleUtilities.framework looks missing. Could you please double check the integration steps from the guide and let us know the result.

google-oss-bot commented 3 years ago

Hey @vijayvishesh. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot commented 3 years ago

Since there haven't been any recent updates here, I am going to close this issue.

@vijayvishesh if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.