firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Flutter project Undefined symbols for architecture armv7 FSTFirestoreComponent firestoreForDatabase:] in FSTFirestoreComponent

Open abdullah4one opened this issue 5 years ago • 4 comments

Undefined symbols for architecture armv7: "absl::lts_2020_02_25::string_view::find(absl::lts_2020_02_25::string_view, unsigned long) const", referenced from: firebase::firestore::model::ResourcePath::FromStringView(absl::lts_2020_02_25::string_view) in resource_path.o "absl::lts_2020_02_25::AlphaNum::AlphaNum(absl::lts_2020_02_25::Hex)", referenced from: firebase::firestore::nanopb::PrintHeader(int, absl::lts_2020_02_25::string_view, void const*) in pretty_printing.o "leveldb::WriteBatch::WriteBatch()", referenced from: firebase::firestore::local::LevelDbTransaction::Commit() in leveldb_transaction.o "leveldb::WriteBatch::Delete(leveldb::Slice const&)", referenced from: firebase::firestore::local::LevelDbTransaction::Commit() in leveldb_transaction.o "leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)", referenced from: firebase::firestore::local::LevelDbTransaction::Commit() in leveldb_transaction.o "leveldb::WriteBatch::~WriteBatch()", referenced from: firebase::firestore::local::LevelDbTransaction::Commit() in leveldb_transaction.o "absl::lts_2020_02_25::StrAppend(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, absl::lts_2020_02_25::AlphaNum const&, absl::lts_2020_02_25::AlphaNum const&)", referenced from: -[FSTFirestoreComponent firestoreForDatabase:] in FSTFirestoreComponent.o firebase::firestore::local::DescribeKey(leveldb::Slice) in leveldb_key.o firebase::firestore::local::LevelDbOpener::StorageDir(firebase::firestore::util::Path const&) in leveldb_opener.o firebase::firestore::local::LevelDbTransaction::ToString() in leveldb_transaction.o firebase::firestore::util::Status::CausedBy(firebase::firestore::util::Status const&) in status.o firebase::firestore::core::Target::CanonicalId() const in target.o "grpc_impl::ChannelArguments::SetInt(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int)", referenced from: firebase::firestore::remote::GrpcConnection::CreateChannel() const in grpc_connection.o "leveldb::DB::Open(leveldb::Options const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, leveldb::DB**)", referenced from: firebase::firestore::local::LevelDbPersistence::OpenDb(firebase::firestore::util::Path const&) in leveldb_persistence.o "absl::lts_2020_02_25::StrAppend(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, absl::lts_2020_02_25::AlphaNum const&, absl::lts_2020_02_25::AlphaNum const&, absl::lts_2020_02_25::AlphaNum const&)", referenced from: firebase::firestore::local::DescribeKey(leveldb::Slice) in leveldb_key.o firebase::firestore::local::LruGarbageCollector::RunGarbageCollection(std::__1::unordered_map<int, firebase::firestore::local::TargetData, std::__1::hash, std::__1::equal_to, std::__1::allocator<std::__1::pair<int const, firebase::firestore::local::TargetData> > > const&) in lru_garbage_collector.o "grpc_impl::ChannelArguments::SetSslTargetNameOverride(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from: firebase::firestore::remote::GrpcConnection::CreateChannel() const in grpc_connection.o "leveldb::Status::Status(leveldb::Status::Code, leveldb::Slice const&, leveldb::Slice const&)", referenced from: firebase::firestore::local::LevelDbTransaction::Get(absl::lts_2020_02_25::string_view, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in leveldb_transaction.o "absl::lts_2020_02_25::AlphaNum::AlphaNum(absl::lts_2020_02_25::Hex)", referenced from: std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > firebase::firestore::util::StringFormatfirebase::firestore::remote::GrpcStream*(char const, firebase::firestore::remote::GrpcStream* const&) in grpc_stream.o

[✓] Flutter (Channel stable, 2.0.0, on Mac OS X 10.15.4 19E266 darwin-x64, locale en-IN) • Flutter version 2.0.0 at /Applications/flutter2.0_midhilaj • Framework revision 60bd88df91 (4 weeks ago), 2021-03-03 09:13:17 -0800 • Engine revision 40441def69 • Dart version 2.12.0

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/midhilajm/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/midhilajm/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.90
    ! Error: Midhilaj’s iPhone is not connected. Xcode will continue when Midhilaj’s iPhone is connected. (code -13)

! Doctor found issues in 1 category.
Process finished with exit code 0

firebase_core: "^0.7.0" firebase_auth: ^0.20.0+1 cloud_firestore: ^0.16.0 firebase_storage: ^7.0.0 firebase_analytics: ^7.0.1

https://stackoverflow.com/questions/66906924/undefined-symbols-for-architecture-armv7-fstfirestorecomponent-firestorefordatab https://stackoverflow.com/questions/66905657/normal-armv7-in-target-firebasefirestore-from-project-pods-flutter

abdullah4one avatar Apr 02 '21 15:04 abdullah4one

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Apr 02 '21 15:04 google-oss-bot

@abdullah4one Thanks for writing in! Can you provide some more details about how and when you're hitting this error? Having a small repro app would be very helpful here. Also, the stackoverflow links you mentioned don't seem to be valid.

thebrianchen avatar Apr 07 '21 13:04 thebrianchen

Hey @abdullah4one. 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 avatar Apr 14 '21 01:04 google-oss-bot

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

@abdullah4one 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.

google-oss-bot avatar Apr 20 '21 01:04 google-oss-bot