报错如下:
[!] CocoaPods could not find compatible versions for pod "Flutter":
In Podfile:
Flutter (from `Flutter`)
webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`) was resolved to 0.0.1, which depends on
Flutter
Specs satisfying the `Flutter (from `Flutter`), Flutter` dependency were found, but they required a higher minimum deployment target.
切换了分支,重新运行就报这个错了,显示webview_flutter_wkwebview这个插件需要更高的最小版本,插件中,是:
image.png
Profile 文件中是:
image.png
改了插件中的没有效果,Profile中改为11,重新 pod install 就可以了,只是有点不太明白,插件中的9.0却要求更高的版本。
应该是因为跟项目中的 minimum deployment target 不匹配,现在最小只能选 11了。
image.png