macbook pro m1 应用 Android studio 运行 flutter 我的项目时开启 iOS 模拟器报错 Undefined symbols for architecture arm64,已解决!
报错截图
解决办法
flutter 我的项目中.ios 文件下的 Podfile 文件外面,批改以下代码:
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end
end
end