Reputation: 7080
When attempting to update my Flutter project to a new Flutter version, I encountered the following error related to CocoaPods and the webview_flutter_wkwebview
plugin:
[!] CocoaPods could not find compatible versions for pod "webview_flutter_wkwebview":
In Podfile:
webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
Specs satisfying the `webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)` dependency were found, but they required a higher minimum deployment target.
Upvotes: 5
Views: 1948
Reputation: 388
You need to update the iOS deployment target. This error occurs because the webview_flutter_wkwebview
plugin requires a higher iOS version than what's currently set in your project.
Open your ios/Podfile
:
platform :ios, '9.0' # or some other version lower than required
Use a higher version, for example iOS 14:
platform :ios, '14.0'
Upvotes: 4