報(bào)錯(cuò)提示:Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was
1.flutter 報(bào)錯(cuò):
Resolving dependencies of `Podfile`
??CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only
??perfomed in repo update
[!] CocoaPods could not find compatible versions?for?pod?"multi_image_picker":
??In Podfile:
????multi_image_picker (from `.symlinks/plugins/multi_image_picker/ios`)
Specs satisfying the `multi_image_picker (from `.symlinks/plugins/multi_image_picker/ios`)` dependency
were found, but they required a higher minimum deployment target.
2.Error output from CocoaPods:
????/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/rbconfig.rb:
????229: warning: Insecure world writable dir /Users/zhuzhisen_work/.nvm in PATH, mode?040777
????[!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was
????specified. Please specify a platform?for?this?target in your Podfile. See
????`https://guides.cocoapods.org/syntax/podfile.html#platform`.
解決方式:只要修改ios目錄下podfile 第二行 去掉#號(hào)