firebase-ios-sdk: [Carthage] Missing GDT symbols when installing Messaging and Remote Config

[READ] Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository file a Github issue.
    • If this is a feature request make sure the issue title starts with “FR:”.
  • For general technical questions, post a question on StackOverflow with the firebase tag.
  • For general Firebase discussion, use the firebase-talk google group.
  • For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Xcode version: 11.2
  • Firebase SDK version: 6.7.0
  • Firebase Component: Core
  • Component version: 6.7.0

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

What happened? How can we make the problem occur? This could be a description, log/console output, etc. Today i updated xcode from 11.1 to 11.2, once I did this both of my projects now fail when building. I am getting the following errors:

  "_OBJC_CLASS_$_GDTTransport", referenced from:
      objc-class-ref in FirebaseCoreDiagnostics(FIRCoreDiagnostics.o)
  "_GDTLog", referenced from:
      -[FIRCoreDiagnosticsLog transportBytes] in FirebaseCoreDiagnostics(FIRCoreDiagnostics.o)
      _FIRPopulateProtoWithCommonInfoFromApp in FirebaseCoreDiagnostics(FIRCoreDiagnostics.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Relevant Code:

Cartfile:

# Firebase - FirebaseAnalyticsBinary must always be included #
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json"

Cartfile.resolved

binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json" "6.7.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" "6.7.0"

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

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (8 by maintainers)

Most upvoted comments

ended up having to delete the Firebase.framework, the ensuring all other frameworks were set to Do not Embed, on the general tab under frameworks, libraries, and embedded content