Flutter Flatter AdMob可以在Android上工作,但不能在iOS上工作

Flutter Flatter AdMob可以在Android上工作,但不能在iOS上工作,flutter,admob,Flutter,Admob,我有一个使用AdMob的颤振项目。这在Android中运行良好,我可以查看测试广告。但当我尝试为iOS构建时,构建失败。我在谷歌上搜索了这个,并尝试了在网上找到的各种建议,但没有任何帮助。希望有人能帮助解决这个问题 我的pub spec.yaml文件中的代码片段 环境: sdk:“>=2.7.0添加到Podfile: target 'Runner' do use_frameworks! use_modular_headers! flutter_install_all_ios_pod

我有一个使用AdMob的颤振项目。这在Android中运行良好,我可以查看测试广告。但当我尝试为iOS构建时,构建失败。我在谷歌上搜索了这个,并尝试了在网上找到的各种建议,但没有任何帮助。希望有人能帮助解决这个问题

我的pub spec.yaml文件中的代码片段 环境: sdk:“>=2.7.0添加到Podfile:

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

  # TODO: remove this once this issue is resolved:
  # https://github.com/FirebaseExtended/flutterfire/issues/4931
  pod 'Google-Mobile-Ads-SDK', '~> 7.69.0' # this line
end
target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

  # TODO: remove this once this issue is resolved:
  # https://github.com/FirebaseExtended/flutterfire/issues/4931
  pod 'Google-Mobile-Ads-SDK', '~> 7.69.0' # this line
end