You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在旧版iOS上运行Flutter应用?解决iOS18未安装报错

Flutter iOS 构建调试问题

编辑:最初的问题源于Flutter构建iOS应用失败(不支持目标选项-G),使用对应解决方案后无需降级iOS SDK版本。

项目环境与操作背景

  • 项目基于Flutter 3.22.3开发
  • 因部分依赖包不兼容iOS 18.0系统,将Xcode的iOS版本降级至验证过可运行的iOS 17.0

运行时错误信息

运行应用时触发以下错误:

iOS 18.0 is not installed. To download and install the platform, open
Xcode, select Xcode > Settings > Platforms, and click the GET button for the
required platform.

════════════════════════════════════════════════════════════════════════════════
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.

当前状态

  • 应用可在最新Android版本上正常运行并调试
  • 需完成iOS端测试,但未找到在旧版iOS上运行该Flutter应用的有效解决方案

内容的提问来源于stack exchange,提问作者Fulvio Leo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.17 21:42:09