调试一个flutter时还遇到下面这个错,因为插件模板的example中Run的工程文件,里面的podfile默认是没有打开iOS版本的注释的

[!] 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`.

将podfile中的注释去掉即可,like down

# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

标签: podFile

添加新评论