严重错误:找不到'pb_decode.h'文件#include“ pb_decode.h”

时间:2020-03-13 13:21:02

标签: ios firebase flutter dart

我正在尝试安装和运行firestore软件包,并遇到iOS设备的错误(我还没有尝试过Android设备)。

下面是我的.ymal文件依赖项。

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  firebase_messaging: ^6.0.12
  cloud_firestore: ^0.13.4+1
  #firebase_auth: ^0.14.0
  firebase_core: ^0.4.4+2

dev_dependencies:
  flutter_test:
    sdk: flutter

下面是错误日志。

Launching lib/main.dart on iPhone in debug mode...
Automatically signing iOS for device deployment using specified development             
team in Xcode project: WC72QNYT4F
Running pod install...
Running Xcode build...
Xcode build done.                                           79.5s
Failed to build iOS app
Error output from Xcode build:
↳
    2020-03-13 18:42:38.319 xcodebuild[51062:371893]  DTDeviceKit: deviceType         
    from 800e78a8bf49b0f93c71a3743abf3630a684aa34 was NULL
    2020-03-13 18:42:38.424 xcodebuild[51062:371888]  DTDeviceKit: deviceType 
    from 800e78a8bf49b0f93c71a3743abf3630a684aa34 was NULL
    ** BUILD FAILED **


Xcode's output:
↳
    In file included from /Users/sunarcmac2/Desktop/notificationz/ios/Pods/gRPC-Core/src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc:21:
    In file included from /Users/sunarcmac2/Desktop/notificationz/ios/Pods/gRPC-Core/src/core/tsi/alts/handshaker/alts_handshaker_service_api.h:24:
    /Users/sunarcmac2/Desktop/notificationz/ios/Pods/gRPC-Core/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h:24:10: fatal error: 'pb_decode.h' file not found
#include "pb_decode.h"
         ^~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description

Could not build the precompiled application for the device.

Error launching application on iPhone.

报告了相同的问题here,但也没有答案。

0 个答案:

没有答案