I\'m getting an error when I\'m trying to add GeoFire to my iOS Flutter project which has the FlutterFire Database plugin included. This is what the error looks like:
I faced the same kind of issue few days ago.
I think I fixed it by doing the following steps:
Let me know if this is solving your issue :)
Please try the approach suggested by Bjørn Børresen here:
Since Flutter kind of abstracts away this Cocoapods process. Here's what I did to be able to run "pod repo / update":
- Run
pod repo update
- Set the environment variable
FLUTTER_FRAMEWORK_DIR
to something that looks like/Users/youruser/bin/flutter/bin/cache/artifacts/engine/ios/
. You can do alocate Flutter.podspec
to find this directory- From YourFlutterProject/ios run
pod update
After this you should be able to run your app again