【问题标题】:Android Studio - IOS Simulator not workingAndroid Studio - IOS 模拟器不工作
【发布时间】:2020-03-11 04:08:30
【问题描述】:

当我调整应用程序图标大小并尝试重新运行应用程序时,我收到此错误并且模拟器无法启动。我在安卓模拟器上试过,效果很好。不知道我做错了什么。

来自终端:[✓] Flutter(通道稳定,v1.9.1+hotfix.6,Mac OS X 10.15.1 19B88,语言环境

zh-CN)

[✓] Android 工具链 - 为 Android 设备开发(Android SDK 版本 29.0.2)

[✓] Xcode - 为 iOS 和 macOS 开发 (Xcode 11.2.1)

[✓] Android Studio(版本 3.5)

[✓] 已连接设备(1 个可用)

• 未发现任何问题!

来自 Android Studio:

不允许使用资源分叉、Finder 信息或类似的碎屑

Command CodeSign failed with a nonzero exit code

note: Using new build system

note: Planning build

note: Constructing build description

无法为模拟器构建应用程序。

在 iPhone 11 Pro 上启动应用程序时出错。

【问题讨论】:

  • run tab 中显示的错误是什么?
  • 当我在终端内运行 Flutter Clean 时,它显示:错误:未找到 pubspec.yaml 文件。此命令应从 Flutter 项目的根目录运行。不要从 Flutter 的 git clone 的根目录运行此命令。
  • @JosephVeal-Briscoe 它清楚地表明您需要从存在pubspec.yaml 的路径运行flutter clean 命令。您能否显示运行此命令的文件夹结构和路径

标签: android ios flutter


【解决方案1】:

尝试将工作区设置更改为旧版构建系统, Xcode -> File -> Workspace Settings -> Build Systems改自

New Build System(default) -> Legacy Build System

【讨论】:

    【解决方案2】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-12-12
      • 2014-10-15
      • 1970-01-01
      • 2021-01-15
      • 1970-01-01
      • 1970-01-01
      • 2017-11-09
      相关资源
      最近更新 更多