ld warning: direct access in function void boost
Hi everyone. I have a 3rd party SDK in my project that presents the following warning on Xcode:
ld: warning: direct access in function 'void boost::function2<boost::iterator_range<std::__1::__wrap_iter<wchar_t*> >, std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >::assign_to<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<wchar_t> > >(boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<wchar_t> >)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
I did some research and found out that is related to some visibility compiler flags that don't match. I did some changes, but still could not find a way to fix this warning. Does anyone have an idea on how this can be fixed? Thank you.
iPhone XS Max