Ios 与Firebase的统一

Ios 与Firebase的统一,ios,xcode,unity3d,firebase,protocol-buffers,Ios,Xcode,Unity3d,Firebase,Protocol Buffers,我正在尝试构建iOS应用程序,但当应用程序正在编译时,我收到以下错误 In file included from /Users/babri/Documents/ohmybrand/app/app/Pods/Protobuf/objectivec/google/protobuf/Any.pbobjc.m:13: In file included from /Users/babri/Documents/ohmybrand/app/app/Pods/Headers/Private/Protobuf/G

我正在尝试构建iOS应用程序,但当应用程序正在编译时,我收到以下错误

In file included from /Users/babri/Documents/ohmybrand/app/app/Pods/Protobuf/objectivec/google/protobuf/Any.pbobjc.m:13:
In file included from /Users/babri/Documents/ohmybrand/app/app/Pods/Headers/Private/Protobuf/GPBProtocolBuffers_RuntimeSupport.h:34:
In file included from /Users/babri/Documents/ohmybrand/app/app/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:44:
/Users/babri/Documents/ohmybrand/app/app/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:44:10: fatal error: 'google/protobuf/Any.pbobjc.h' file not found
 #import "google/protobuf/Any.pbobjc.h"
         ^
1 error generated.
在为Android构建时,我没有看到相同的错误。我已经检查过文件是否存在。Unity为XCode生成项目

解决方案

谷歌发布了一个新版本来修复此错误。:)

我的解决方法是从每个标题中删除“google/protobuf/”

它无法从根本上解决这个问题,但至少您可以构建您的unity项目。

我的解决方法是从每个标题中删除“google/protobuf/”


它不能从根本上解决这个问题,但至少你可以构建你的unity项目。

这是在哪个版本上修复的?您是否必须更改podspec中的s.dependency“!ProtoCompiler gRPCPlugin”?这是在哪个版本上修复的?您是否必须更改podspec中的s.dependency“!ProtoCompiler gRPCPlugin”?