Automatically assigning platform `ios` with version `9.0` on target `Runner`解决

  • 发表于
  • flutter

Automatically assigning platform ios with version 9.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile

在mac上使用引用了第三方库,发现报错,解决步骤如下:

解决办法:

platform version错误,解决方法是修改项目里的ios/Podfile文件:

# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
platform :ios, '9.0' #增加的内容