Apple Mach-O linker error: Undefined symbols for architecture i386 Google Protobuf

460 Views Asked by At

I am trying to use Protobuf 2.6 with Xcode version 6.3. I've added the libprotobuf-lite.a to my Demo application and added the path to the Header files in the Header Search Paths., but I am getting this error.

Undefined symbols for architecture i386:
"google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)", referenced from: attributes::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*) in attributes.pb.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

0

There are 0 best solutions below