I'm trying to build an IOS app in XCode8 with some existing C++ code that uses Google Protobuf, but can't get it to work.
I tried using CocoaPods as described here and in other places.
Also tried some building scripts: script1, script2.
In all of the tries I eventually got:
Undefined symbols for architecture arm64:
"google_public::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, google_public::protobuf::io::CodedOutputStream*)",
"google_public::protobuf::internal::WireFormat::VerifyUTF8StringFallback(char const*, int, google_public::protobuf::internal::WireFormat::Operation, char const*)",
"google_public::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*)",
With a list of some more protobuf implementation functions that are missing.
Is there any other way to compile/use the protobuf library XCode for IOS app?