flutter工程打开编译运行报错需要在podfile文件下替换原有的
- post_install do |installer|
- installer.pods_project.targets.each do |target|
- flutter_additional_ios_build_settings(target)
- end
- end
替换为下面的:
- 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['ENABLE_BITCODE'] = 'NO'
-
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
-
- end
-
- end
-
- end
重新编译通过