Hello. I am trying to add the protocol buffer to my application (for
iphone) and i have been struggling for about 2 days to figure out how
to do it. I am new to XCode too by the way. I tried creating a
framework like Brian Olson suggested on this post:
http://groups.google.com/group/protobuf/browse_thread/thread/65e781a5e8d6fc06#
, but i do not know all the things i need to include this framework.
Here are the steps im following.
1. Compile the protobuf project
2. On my project, right click on Frameworks and click 'add->existing
frameworks' and then locate the 'macosx/build/release/
protobuf.framework' folder. The framework is located at the documents
folder (documents/macosx)
3. I created my .pb.h and .pb.c with the 'protoc' program and added
them to my project.
4. I try to compile, but the following 18 errors appear like this:
"google::protobuf::UnknownFieldSet::UnknownFieldSet()", referenced
from:
myNamespace::myProto::myProto() in myProto.pb.o
...
I really dont care if i add it as a framework or as direct code, but i
have not been able to include the protocol buffer as part of my
project. Can anyone please help me?