微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在 Mac M1 芯片上为 Flutter 项目更新 PodFile

如何解决在 Mac M1 芯片上为 Flutter 项目更新 PodFile

我正在尝试在 Mac(M1 硅芯片)上运行 Flutter 项目。同一个项目在 linux 机器上运行良好。但是,在 Mac 上我不断收到此错误,我尝试了多种方法但仍然没有运气。如果这里有人知道如何解决这个问题会很有帮助。

 warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'UMDevice' from project 'Pods')
 warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'FirebaseDatabase' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'FirebaseAuth' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'UMAPM' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'FirebaseAnalytics' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'Firebase' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'UMCCommon' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'GoogleAppMeasurement' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'UMCAnalytics' from project 'Pods')
    warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0,but the range of supported deployment target versions is 9.0 to 14.3.99. (in target
    'Flutter' from project 'Pods'

我已经取消注释并更改了 Podfile 上的版本,并且还增加了 Xcode 上的版本,但仍然没有运气。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。