Use --use-libraries
Try updating your Podfile by modifying the target 'Runner' block. Add use_frameworks! :linkage => :static as follows:
target 'Runner' do
use_frameworks! :linkage => :static
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(FILE)) end
Then, run:
pod install --repo-update