Suddenly I started getting this error while building the project:
Failed to build iOS app
Lexical or Preprocessor Issue (Xcode): 'PigeonParser.h' file not found
/Users/alehhutnikau/.pub-cache/hosted/pub.dev/firebase_auth-4.11.0/ios/Classes/PigeonParser.m:4:8
Encountered error while archiving for device.
I tried flutter clean, reinitializing the iOS project, but nothing helps. Has anyone encountered something similar before?
Step 1: Try downgrading the firebase dependencies to the following:
cloud_firestore: 4.9.2
firebase_core: 2.16.0
firebase_storage: 11.2.7
firebase_auth: 4.10.0
firebase_messaging: 14.6.8
firebase_analytics: 10.5.0
Step 2: Run flutter clean and flutter pub get.
Step 3: cd to ios directory and run pod update.
I just fixed the problem by following the 3 steps mentioned above.
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