Hi,
I am encountering a linking issue with a project for an iOS .NET MAUI application that I am developing using Visual Studio 17.11.4. This project includes a custom static library (.a). The custom static library (.a) depends on the libxml2 library. However, it appears that libxml2 is not included in Xcode 15.4 (Sonoma OS), resulting in the following error:
error : Undefined symbols for architecture arm64:
error : "_xmlBufferCreate", referenced from: ....
I have set the following additional arguments for compilation: -cxx -gcc_flags "-lz -lxml2".
Despite my efforts to install libxml2 using Homebrew, I have not been successful.
Could you please advise on how I can resolve this issue? Specifically, what is the path that Xcode uses to include libxml2?