2017-02-23 123 views
1

我嘗試構建iOS應用程序,但是當應用程序被編譯我收到以下錯誤統一的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生成項目。

SOLUTION

谷歌已經發布了一個新版本,以修復此錯誤。 :)

+0

哪個版本修復了這個版本?你是否必須改變你的podspec中的s.dependency「!ProtoCompiler-gRPCPlugin」? – Frank

回答

0

我的解決方法是從每個頭包括刪除「谷歌/ protobuf /」。

它無法從根本上解決問題,但至少你可以建立你的團結項目。