Delete Podfile.lock
run pod install in iOS directory
pod install
if pod install doesn't work, try:
pod repo update or with pod install --repo-update.
pod repo update
pod install --repo-update
Then:
flutter clean && flutter run
flutter clean
flutter run