I have a running app on Android, which is using a few plugins including cloud_firestore. Trying to compile for IOS it fails with
Xcode's output: ↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'cloud_firestore/CloudFirestorePlugin.h' file not found
#import <cloud_firestore/CloudFirestorePlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
I know very little about IOS. Can someone tell me why this is happening?
For flutter, you don't do any manual pod update. Just do the following 3 steps
NOTE: Don't do any pod install step whatever is mentioned in Firebase. This is not required in flutter.
Build you App, Pod install will happen automatically and your code will run.
I've did this multiple times and it works all the time
Hope it helps
Try this. When opening the project in XCode, make sure you open the file with the .xcworkspace extension instead of the one with .xcodeproj and then build again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With