DoNotArrestMe DoNotArrestMe - 28 days ago 8
iOS Question

Integrate Google Protocol Buffers with Xcode project

I already have generated

.h
and
.m
files for classes in Objective-C in project. With the reference to official tutorial I add
objectivec/\*.h
&
objectivec/GPBProtocolBuffers.m
to my project. But there are many errors after that. How correctly include the runtime sources in project? Thanks in advance.

Answer

You may add the include path of Google Protocol Buffer in Xcode's User Header Search Path.

enter image description here