After searching long hours on github and stack for similar errors, none of the proposed solutions helped me to resolve this error.
I tried quite a few things (a bit out of order):
- remove IOS derived data
- change firestore package version
- flutter clean
- rm -Rf ios/Pods
- rm -Rf ios/.symlinks
- rm -Rf ios/Flutter/Flutter.framework
- rm -Rf ios/Flutter/Flutter.podspec
- rm -rf ios/Podfile ios/Podfile.lock ios/Pods ios/Runner.xcworkspace
- pod init, install and update
- uncomment platform :ios, '9.0' from podfile (maybe not linked to this issue)
Here is the error:
** BUILD FAILED **
Xcode's output:
?
/Users/flo/Mobile/we_ll_see/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module
'cloud_firestore' not found
@import cloud_firestore;
~~~~~~~^~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Need some help guys
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…