运行flutter 新项目报错

报错提示:Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was

1.flutter 报错:

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 第二行 去掉#号

你可能感兴趣的:(运行flutter 新项目报错)