When building a Unity project using Unity 2020.3.9f1 using Universal AR 3.0.1 Xcode gives the following errors.
Undefined symbols for architecture arm64:
“_glGenTextures”, referenced from:
ERS::Buffer::uploadGL() in libzcv.a(BufferHandler.o)
ERS::Buffer::getGLTextureId() in libzcv.a(BufferHandler.o)
“_glTexParameteri”, referenced from:
ERS::Buffer::uploadGL() in libzcv.a(BufferHandler.o)
“_glTexImage2D”, referenced from:
ERS::Buffer::uploadGL() in libzcv.a(BufferHandler.o)
“_glBindTexture”, referenced from:
ERS::Buffer::uploadGL() in libzcv.a(BufferHandler.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is when using a fresh Unity project that builds to the device fine in isolation but as soon as the UAR package is added through the package manager Xcode now gives the above error and fails to build.
Any support would be appreciated.