Error: The pod "Firebase/Messaging" required by the plugin "firebase_messaging" requires a higher minimum iOS deployment version than the plugin's reported minimum version. To build, remove the plugin "firebase_messaging", or contact the plugin's developers for assistance. Error running pod install Error launching application on iPhone 15 Pro Max.
I try flutter pub get and the errors in the code fix it
Check if you have the package in dependencies on file pubspec.yaml "firebase_messaging", if you don't have run this command flutter pub add firebase_messaging
Try calling rm -rf Podfile.lock && pod install --repo-update
Then flutter pub get
if not fix the issue
Try flutter clean
Then flutter pub get
Specific for Firebase/Messaging pod problem:
Go to ios folder cd ios
in your root flutter project
Then update pod repo by pod repo update
Update Firebase/Messaging by pod update Firebase/Messaging
And try to flutter run
again!
With this method, i didn't need to change my minimum deployment target.
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