Flutter: 'grpcpp/support/byte_buffer.h' file not found

Viewed 152

I have yesterday remove my project from my Mac and clone again from the repo. After that have I a problem with building of my Flutter app in the iOS Simulator.

I received fatal error: 'grpcpp/support/byte_buffer.h' file not found.

So I search on Google and tried this solution, but it doesn't works :-(

I don't know anymore what I should do, I hope that it's a little problem.

Please help me, thanks.

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 Answers
Related