将Google Protocol Buffers与Xcode项目集成

时间:2016-11-11 11:01:49

标签: ios objective-c xcode protocol-buffers

我已经为项目中的Objective-C中的类生成了.h.m个文件。引用official tutorial后,我添加了objectivec/\*.h& objectivec/GPBProtocolBuffers.m我的项目。但之后有很多错误。如何在项目中正确包含运行时源?提前谢谢。

1 个答案:

答案 0 :(得分:1)

您可以在Xcode的include path中添加 Google协议缓冲区User Header Search Path

enter image description here