0

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;
                                      ^

1 Answer 1

1

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
Sign up to request clarification or add additional context in comments.

3 Comments

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'gRPC-C++' from project 'Pods')
the same error keeps going on , the one in the post

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.