Flutter pod update 报错 dependency were found, but they required a higher minimum deployment...

▶ arch -x86_64 pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "leancloud_official_plugin":
  In Podfile:
    leancloud_official_plugin (from `.symlinks/plugins/leancloud_official_plugin/ios`)

Specs satisfying the `leancloud_official_plugin (from `.symlinks/plugins/leancloud_official_plugin/ios`)` dependency were found, but they required a higher minimum deployment target.
image.png

这种问题就是 podfile 里面依赖的版本过低,例如把 platform :ios, '9.0'升级到 '11.0':

 platform :ios, '11.0'

然后设置这里:


image.png

你可能感兴趣的:(Flutter pod update 报错 dependency were found, but they required a higher minimum deployment...)