I am engaged on a Flutter venture, and I am encountering the next error throughout the iOS construct course of. It looks like there’s a kind incompatibility concern between the firebase_auth
and firebase_core
packages.
Error Output:
/Customers/bertugmete/.pub-cache/hosted/pub.dev/firebase_auth-4.16.0/ios/Courses/FLTFirebaseAuthPlugin.m:113:72: warning: sending 'FLTFirebaseAuthPlugin *__strong' to parameter of incompatible kind 'id _Nonnull'
[[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
In module ‘firebase_core’ imported from /Customers/bertugmete/.pub-cache/hosted/pub.dev/firebase_auth-4.16.0/ios/Courses/FLTFirebaseAuthPlugin.m:7:
/Customers/bertugmete/.pub-cache/hosted/pub.dev/firebase_core-2.24.2/ios/Courses/FLTFirebasePluginRegistry.h:23:64: notice: passing argument to parameter 'firebasePlugin' right here
- (void)registerFirebasePlugin:(id _Nonnull)firebasePlugin;
pubspec.yaml Dependencies:
dependencies:
firebase_core: ^2.24.2
firebase_auth: ^4.16.0
Steps I’ve Tried:
I attempted cleansing the venture and working flutter clear and reinstalling the pods utilizing pod deintegrate and pod set up.
I’ve ensured that each firebase_core and firebase_auth packages are on the most recent variations.
How can I resolve this sort incompatibility concern? Is there a battle between the variations of firebase_auth and firebase_core? Any recommendation or strategies can be vastly appreciated.