发现问题:
Intellij更新后运行flutter项目出现如下报错:
'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Runner' from project 'Runner')
问题分析:
虚拟机版本与项目中支持的版本不一致。
问题解决:
首先找到iOS文件夹下的Runner.xcworkspace文件,用xcode打开
image.png
修改Targets下的iOS Devlopment Target版本号为9.0 到 14.4之间的值。
image.png
重新运行即可。
网友评论