[Solved]2.82 build fail on MacOS 10.13 with XCode9.4/10

Hi there,

I’ve been building Blender on MacOS 10.13 with XCode9.4 and 10 from 2.79 to 2.81 - everything works great.
But I had some problems when building 2.82.

Here are my building steps.

git checkout v2.82
git submodule update --recursive
make update
make full

Then it raised a linking error.

[100%] Linking CXX executable …/…/bin/Blender.app/Contents/MacOS/Blender
Undefined symbols for architecture x86_64:
“___isPlatformVersionAtLeast”, referenced from:
llvm::sys::fs::copy_file(llvm::Twine const&, llvm::Twine const&) in libLLVMSupport.a(Path.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bin/Blender.app/Contents/MacOS/Blender] Error 1
make[2]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

Any hints?

PS: I did some investigations and it looks like upgrading the XCode to 11 would help. But I cannot do it due to I would like to stay on 10.13(Apple doesn’t support NVidia driver since 10.14).

Cheers,
Tom

We have the same issue on the buildbot, we’ll look into a fix.

It seems to be a bug in Xcode 11, where it’s not respecting the deployment target properly.

It should be fixed now if you update to the latest libraries.

Works perfectly now! Thanks!