Due to the release of iOS 17, I had to update XCode to version 15. When making an iOS build from Unity with the Pulse Engine version from before last week (last week the version on gitlab was updated with a new Google.Protobuf.dll), it builds fine.
But when making a iOS build with the latest commits, XCode gives this error :
Yeah, I know what this is.
I either need to provide you the absl libraries (Way too many)
Or I believe I can rework how I build protobuf to get that absl code in the libprotobuf.a rather than separate libraries
Thanks for the quick response again! Using the absl libraries make a difference, the previous errors are gone but a couple of new ones are still there. Maybe you have another indication how to fix that?
ld: Undefined symbols:
utf8_range::IsStructurallyValid(std::__1::basic_string_view<char, std::__1::char_traits<char>>), referenced from:
google::protobuf::internal::TcParser::FastUS1(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long long) in libprotobuf.a[28](generated_message_tctable_lite.o)
google::protobuf::internal::TcParser::FastUS1(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long long) in libprotobuf.a[28](generated_message_tctable_lite.o)
google::protobuf::internal::TcParser::FastUS2(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long long) in libprotobuf.a[28](generated_message_tctable_lite.o)
google::protobuf::internal::TcParser::FastUS2(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long long) in libprotobuf.a[28](generated_message_tctable_lite.o)
google::protobuf::internal::TcParser::FastUR1(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long long) in libprotobuf.a[28](generated_message_tctable_lite.o)
google::protobuf::internal::TcParser::FastUR1(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long long) in libprotobuf.a[28](generated_message_tctable_lite.o)
google::protobuf::internal::TcParser::FastUR1(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long long) in libprotobuf.a[28](generated_message_tctable_lite.o)
...
clang: error: linker command failed with exit code 1 (use -v to see invocation)
So protobuf is now dependent on the Abseil C++ library as well as a utf8 library
So I will need to provide static versions of those libraries for iOS (cant rework the protobuf build easily)
That is weird you were able to build with out them in a previous xcode version
I will have to update the repository later today when I get back to my mac