firebase-ios-sdk: FirebaseFirestore missing some abseil object symbols

[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: 9.2
  • Firebase SDK version: 4.10.0
  • Firebase Component: Firestore (Auth, Core, Database, Firestore, Messaging, Storage, etc)
  • Component version: 0.10.2

[REQUIRED] Step 3: Describe the problem

We included our private cocoapods, (working fine without Firebase libraries), however we got the following issue: image Logs

Undefined symbols for architecture x86_64:
  "absl::base_internal::ThrowStdOutOfRange(char const*)", referenced from:
      absl::strings_internal::SplitIterator<absl::strings_internal::Splitter<absl::ByChar, absl::SkipEmpty> >::operator++() in FirebaseFirestore(resource_path_f1610fc30d8e6ee80923bc51b0b31dbf.o)
  "absl::string_view::find(absl::string_view, unsigned long) const", referenced from:
      firebase::firestore::model::ResourcePath::FromString(absl::string_view) in FirebaseFirestore(resource_path_f1610fc30d8e6ee80923bc51b0b31dbf.o)
  "absl::ByChar::Find(absl::string_view, unsigned long) const", referenced from:
      absl::strings_internal::SplitIterator<absl::strings_internal::Splitter<absl::ByChar, absl::SkipEmpty> >::operator++() in FirebaseFirestore(resource_path_f1610fc30d8e6ee80923bc51b0b31dbf.o)
  "absl::StrReplaceAll(absl::string_view, std::initializer_list<std::__1::pair<absl::string_view, absl::string_view> >)", referenced from:
      firebase::firestore::model::FieldPath::CanonicalString() const in FirebaseFirestore(field_path_745c64ad7b641183c86289111d67ec5b.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any ideas, guys? Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (11 by maintainers)

Most upvoted comments

@wilhuff Got one more problem it’s working fine when i build if but it’s give me error when i try to archive

I got the following errors

Could not build module 'RxLibrary'
include of non-modular header inside framework module 'RxLibrary
Could not build module 'GRPCClient'
Could not build module 'ProtoRPC'

Doh, @paulb777 is quicker on the draw! 😃