颤振:找不到“grpcpp/support/byte_buffer.h”文件

时间:2020-12-19 12:05:46

标签: ios xcode flutter google-cloud-firestore

我昨天从我的 Mac 中删除了我的项目,然后从 repo 中再次克隆。之后,我在 iOS 模拟器中构建 Flutter 应用程序时遇到问题。

我收到了 fatal error: 'grpcpp/support/byte_buffer.h' file not found

所以我在 Google 和 tried this solution 上搜索,但它不起作用:-(

我已经不知道该怎么办了,希望是个小问题。

请帮帮我,谢谢。

Launching lib/main.dart on iPhone 12 in debug mode...
lib/main.dart:1
Xcode build done.                                            8,8s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:
↳
    In file included from /Applications/MAMP/htdocs/capido/ios/Pods/FirebaseFirestore/Firestore/core/src/nanopb/writer.cc:17:
    /Applications/MAMP/htdocs/capido/ios/Pods/FirebaseFirestore/Firestore/core/src/nanopb/writer.h:28:10: fatal error: 'grpcpp/support/byte_buffer.h' file not found
    #include "grpcpp/support/byte_buffer.h"
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 12.
Exited (sigterm)

0 个答案:

没有答案