Flutter project Undefined symbols for architecture armv7 FSTFirestoreComponent firestoreForDatabase:] in FSTFirestoreComponent
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
[✓] 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
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.
@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.
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!
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.