【问题标题】:Xcode build is missing expected TARGET_BUILD_DIR build settingXcode 构建缺少预期的 TARGET_BUILD_DIR 构建设置
【发布时间】:2021-12-13 18:37:25
【问题描述】:

我在设备 on iPhone 12 Pro Max 上启动时遇到错误。这是控制台日志

Launching lib/main.dart on iPhone 12 Pro Max in `debug mode`
Running Xcode build...
Xcode build done.                                           270.9s
Xcode build is missing expected TARGET_BUILD_DIR build setting.
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.

【问题讨论】:

    标签: xcode firebase flutter dart


    【解决方案1】:

    我刚刚遇到这个问题并修复如下:

    • 运行命令flutter upgrade
    • 运行命令flutter clean
    • 连接手机
    • 运行命令flutter run

    如果仍然失败,请打开 Xcode 运行器项目,设置您的开发团队并直接从那里运行。

    运行后,关闭 Xcode,进行干净的构建,然后使用您喜欢的方法运行它。

    【讨论】:

    • 在我的情况下不需要调用颤振升级。
    猜你喜欢
    • 2022-06-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-12
    • 2015-01-24
    • 2012-12-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多