Reputation: 622
hello I have created my flutter project on linux , now I moved it to a Mac by pushing it to GitHub and then cloning it to my make to avoid any thing that can go wrong but now all I get is this error and I don't know why !
** BUILD FAILED **
Xcode's output:
↳
/Users/fahmisawalha/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.20.0+1/ios/Classes/FLTFirebaseAuthPlugin.m:54:35: error: unknown type name 'FIRAuthStateDidChangeListenerHandle'
NSMutableDictionary<NSString *, FIRAuthStateDidChangeListenerHandle> *_authChangeListeners;
^
Upvotes: 0
Views: 67
Reputation: 650
try to do this
flutter clean
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
Then for reproduce Podfile follow this command
rm ios/Podfile
Finally your project is ready to good to go
flutter run
Upvotes: 1