【问题标题】:Flutter: Unable to compile iOS flutter_blueFlutter:无法编译 iOS flutter_blue
【发布时间】:2022-11-09 08:43:56
【问题描述】:

在 Xcode 上构建时,出现以下错误:

open /development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.8.0/ios/gen/Flutterblue.pbobjc.h: No such file or directory

我应该怎么做才能解决这个问题?

【问题讨论】:

    标签: ios flutter bluetooth bluetooth-lowenergy


    【解决方案1】:

    对于不同的班级,我有一个非常相似的问题,就我而言,问题是我的 Pod 存储库不是最新的:|

    只需运行pod repo update 然后运行flutter build ios 即可修复。

    【讨论】:

      猜你喜欢
      • 2018-10-11
      • 2021-12-08
      • 1970-01-01
      • 2022-08-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多