For those running a Flutter app, do the following:
run flutter clean
Delete your Podfile.lock file and your Pods directory (ios/Pods)
run flutter pub get
Update your Podfile by replacing your post_install section with the following:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
flutter_additional_ios_build_settings(target)
end
end
cd into your ios directory and run pod install
build your app flutter run
Hope this helps!