macOS Xcode build fails with "Build input file cannot be found '... -Xlinker'" on target 'datatoc'

Hoping someone can help me with this Xcode build problem. First, some system details:

Late 2012 iMac
macOS 10.15.7
Xcode 12.2
CMake 3.19.0
Master branch, commit 38fe962d954229

Attempting to build following the wiki instructions for macOS (https://wiki.blender.org/wiki/Building_Blender/Mac). Steps taken:

  1. Clean clone of the repository
  2. Ran make update to pull down the libraries and submodules
  3. Ran cmake . -B ../build_xcode/ -G "Xcode" from the blender source directory to generate an Xcode project
  4. Opened the Xcode project, following the instructions to automatically create schemes
  5. Changed the active scheme to install
  6. Edited the scheme to set Blender.app as the executable
  7. Hit the build button

I get this error:

Build target datatoc of project Blender with configuration Debug

Ld /Users/theothermatt/code/blender-git/build_xcode/bin/Debug/datatoc normal (in target 'datatoc' from project 'Blender')
    cd /Users/theothermatt/code/blender-git/blender
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -L/Users/theothermatt/code/blender-git/build_xcode/bin/Debug -F/Users/theothermatt/code/blender-git/build_xcode/bin/Debug -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks -filelist /Users/theothermatt/code/blender-git/build_xcode/source/blender/datatoc/Blender.build/Debug/datatoc.build/Objects-normal/x86_64/datatoc.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/theothermatt/code/blender-git/build_xcode/source/blender/datatoc/Blender.build/Debug/datatoc.build/Objects-normal/x86_64/datatoc_lto.o -Xlinker -no_deduplicate -L/Users/theothermatt/code/blender-git/blender/../lib/darwin/openmp/lib -lomp -fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework Metal -framework QuartzCore -framework ForceFeedback -liconv -Xlinker -stack_size -Xlinker 0x100000 -Xlinker -unexported_symbols_list -Xlinker /Users/theothermatt/code/blender-git/blender/source/creator/osx_locals.map -stdlib\=libc++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/theothermatt/code/blender-git/build_xcode/source/blender/datatoc/Blender.build/Debug/datatoc.build/Objects-normal/x86_64/datatoc_dependency_info.dat -o /Users/theothermatt/code/blender-git/build_xcode/bin/Debug/datatoc

error: Build input file cannot be found: '/Users/theothermatt/code/blender-git/blender/-Xlinker' (in target 'datatoc' from project 'Blender')

Looks like this may have come up before - Blender 2.8 build fail on macOS Mojave - but remains unresolved. I’m posting a new issue since that post was originally for a different problem.

In case it’s useful, here’s the output of the CMake command that generates the Xcode project:

-- The C compiler identification is AppleClang 12.0.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected native architecture x86_64.
-- Detected OS X 11.0 and Xcode 12.2 at /Applications/Xcode.app
-- OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
-- Detected OSX_SYSROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
-- Performing Test SUPPORT_SSE_BUILD
-- Performing Test SUPPORT_SSE_BUILD - Success
-- SSE Support: detected.
-- Performing Test SUPPORT_SSE2_BUILD
-- Performing Test SUPPORT_SSE2_BUILD - Success
-- SSE2 Support: detected.
-- Found Git: /usr/bin/git (found version "2.24.3 (Apple Git-128)") 
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11") 
-- Found BZip2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/lib/libbz2.tbd (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found OpenAL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/OpenAL.framework  
-- Found Alembic: /Users/theothermatt/code/blender-git/lib/darwin/alembic/lib/libAlembic.a  
-- Found USD: /Users/theothermatt/code/blender-git/lib/darwin/usd/lib/libusd_m.a  
-- Found OpenSubdiv: /Users/theothermatt/code/blender-git/lib/darwin/opensubdiv/lib/libosdGPU.a;/Users/theothermatt/code/blender-git/lib/darwin/opensubdiv/lib/libosdCPU.a  
-- Found OpenMP_C: -Xclang -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -Xclang -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Found SndFile: /Users/theothermatt/code/blender-git/lib/darwin/sndfile/lib/libsndfile.a  
-- Found SndFile libraries: /Users/theothermatt/code/blender-git/lib/darwin/sndfile/lib/libsndfile.a;/Users/theothermatt/code/blender-git/lib/darwin/sndfile/lib/libFLAC.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libogg.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libvorbis.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libvorbisenc.a
-- Found Fftw3: /Users/theothermatt/code/blender-git/lib/darwin/fftw3/lib/libfftw3.a  
-- Found Freetype: /Users/theothermatt/code/blender-git/lib/darwin/freetype/lib/libfreetype.a (found version "2.10.2") 
-- #define OPENEXR_VERSION_STRING "2.4.0"
-- Found OpenEXR: /Users/theothermatt/code/blender-git/lib/darwin/openexr/lib/libHalf.a;/Users/theothermatt/code/blender-git/lib/darwin/openexr/lib/libIex.a;/Users/theothermatt/code/blender-git/lib/darwin/openexr/lib/libIlmImf.a;/Users/theothermatt/code/blender-git/lib/darwin/openexr/lib/libIlmThread.a;/Users/theothermatt/code/blender-git/lib/darwin/openexr/lib/libImath.a  
-- Found FFmpeg: /Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libavcodec.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libavdevice.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libavformat.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libavutil.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libmp3lame.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libogg.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libopus.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libswresample.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libswscale.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libtheora.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libtheoradec.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libtheoraenc.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libvorbis.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libvorbisenc.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libvorbisfile.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libvpx.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libx264.a;/Users/theothermatt/code/blender-git/lib/darwin/ffmpeg/lib/libxvidcore.a  
-- Found OpenJPEG: /Users/theothermatt/code/blender-git/lib/darwin/openjpeg/lib/libopenjp2.a  
-- Found OpenCOLLADA: /Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libOpenCOLLADAStreamWriter.a;/Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libOpenCOLLADASaxFrameworkLoader.a;/Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libOpenCOLLADAFramework.a;/Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libOpenCOLLADABaseUtils.a;/Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libGeneratedSaxParser.a;/Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libMathMLSolver.a;/Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libbuffer.a;/Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libftoa.a;/Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libUTF.a  
-- Found PCRE: /Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libpcre.a
-- Found XML2: /Users/theothermatt/code/blender-git/lib/darwin/opencollada/lib/libxml2.a
-- Found SDL2: /Users/theothermatt/code/blender-git/lib/darwin/sdl/lib/libSDL2.a  
-- Found PNG: /Users/theothermatt/code/blender-git/lib/darwin/png/lib/libpng.a (found version "1.6.37") 
-- Found JPEG: /Users/theothermatt/code/blender-git/lib/darwin/jpeg/lib/libjpeg.a (found version "80") 
-- Found TIFF: /Users/theothermatt/code/blender-git/lib/darwin/tiff/lib/libtiff.a (found version "4.1.0")  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found Boost: /Users/theothermatt/code/blender-git/lib/darwin/boost/include (found version "1.70.0") found components: date_time filesystem regex system thread wave locale iostreams chrono atomic serialization 
-- Found OpenImageIO: /Users/theothermatt/code/blender-git/lib/darwin/openimageio/lib/libOpenImageIO.a  
-- Found OpenColorIO: /Users/theothermatt/code/blender-git/lib/darwin/opencolorio/lib/libOpenColorIO.a;/Users/theothermatt/code/blender-git/lib/darwin/opencolorio/lib/libyaml-cpp.a;/Users/theothermatt/code/blender-git/lib/darwin/opencolorio/lib/libtinyxml.a  
-- Found OpenVDB: /Users/theothermatt/code/blender-git/lib/darwin/openvdb/lib/libopenvdb.a  
-- Found Blosc: /Users/theothermatt/code/blender-git/lib/darwin/openvdb/lib/libblosc.a
-- Found LLVM: /Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMXRay.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMWindowsManifest.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMTextAPI.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMTableGen.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMSymbolize.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMDebugInfoPDB.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMOrcJIT.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMJITLink.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMObjectYAML.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMMIRParser.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMMCA.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMLTO.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMPasses.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMObjCARCOpts.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMLineEditor.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMLibDriver.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMInterpreter.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMFuzzMutate.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMMCJIT.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMExecutionEngine.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMRuntimeDyld.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMDlltoolDriver.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMOption.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMDebugInfoGSYM.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMCoverage.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMCoroutines.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMipo.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMInstrumentation.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMVectorize.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMLinker.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMIRReader.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMAsmParser.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMX86Disassembler.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMX86AsmParser.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMX86CodeGen.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMGlobalISel.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMSelectionDAG.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMAsmPrinter.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMDebugInfoDWARF.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMCodeGen.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMTarget.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMScalarOpts.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMInstCombine.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMAggressiveInstCombine.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMTransformUtils.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMBitWriter.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMAnalysis.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMProfileData.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMX86Desc.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMObject.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMMCParser.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMBitReader.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMCore.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMRemarks.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMBitstreamReader.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMMCDisassembler.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMMC.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMDebugInfoCodeView.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMDebugInfoMSF.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMBinaryFormat.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMX86Utils.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMX86Info.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMSupport.a;/Users/theothermatt/code/blender-git/lib/darwin/llvm/lib/libLLVMDemangle.a  
-- Found Embree: /Users/theothermatt/code/blender-git/lib/darwin/embree/lib/libembree3.a;/Users/theothermatt/code/blender-git/lib/darwin/embree/lib/libembree_sse42.a;/Users/theothermatt/code/blender-git/lib/darwin/embree/lib/libembree_avx.a;/Users/theothermatt/code/blender-git/lib/darwin/embree/lib/libembree_avx2.a;/Users/theothermatt/code/blender-git/lib/darwin/embree/lib/liblexers.a;/Users/theothermatt/code/blender-git/lib/darwin/embree/lib/libmath.a;/Users/theothermatt/code/blender-git/lib/darwin/embree/lib/libsimd.a;/Users/theothermatt/code/blender-git/lib/darwin/embree/lib/libsys.a;/Users/theothermatt/code/blender-git/lib/darwin/embree/lib/libtasking.a (Required is at least version "3.8.0") 
-- Found OpenImageDenoise: /Users/theothermatt/code/blender-git/lib/darwin/openimagedenoise/lib/libOpenImageDenoise.a  
-- Found TBB: /Users/theothermatt/code/blender-git/lib/darwin/tbb/lib/libtbb.a  
-- Found Potrace: /Users/theothermatt/code/blender-git/lib/darwin/potrace/lib/libpotrace.a  
-- Using /Users/theothermatt/code/blender-git/blender/../lib/darwin/openmp for OpenMP
-- Found GMP: /Users/theothermatt/code/blender-git/lib/darwin/gmp/lib/libgmp.a  
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/OpenGL.framework   
-- Performing Test C_WARN_ALL
-- Performing Test C_WARN_ALL - Success
-- Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test C_WARN_ERROR_RETURN_TYPE
-- Performing Test C_WARN_ERROR_RETURN_TYPE - Success
-- Performing Test C_WARN_NO_AUTOLOGICAL_COMPARE
-- Performing Test C_WARN_NO_AUTOLOGICAL_COMPARE - Success
-- Performing Test C_WARN_NO_UNKNOWN_PRAGMAS
-- Performing Test C_WARN_NO_UNKNOWN_PRAGMAS - Success
-- Performing Test C_WARN_NO_CHAR_SUBSCRIPTS
-- Performing Test C_WARN_NO_CHAR_SUBSCRIPTS - Success
-- Performing Test C_WARN_STRICT_PROTOTYPES
-- Performing Test C_WARN_STRICT_PROTOTYPES - Success
-- Performing Test C_WARN_MISSING_PROTOTYPES
-- Performing Test C_WARN_MISSING_PROTOTYPES - Success
-- Performing Test C_WARN_UNUSED_PARAMETER
-- Performing Test C_WARN_UNUSED_PARAMETER - Success
-- Performing Test CXX_WARN_ALL
-- Performing Test CXX_WARN_ALL - Success
-- Performing Test CXX_WARN_NO_AUTOLOGICAL_COMPARE
-- Performing Test CXX_WARN_NO_AUTOLOGICAL_COMPARE - Success
-- Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS
-- Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS - Success
-- Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS
-- Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS - Success
-- Performing Test CXX_WARN_NO_OVERLOADED_VIRTUAL
-- Performing Test CXX_WARN_NO_OVERLOADED_VIRTUAL - Success
-- Performing Test CXX_WARN_NO_SIGN_COMPARE
-- Performing Test CXX_WARN_NO_SIGN_COMPARE - Success
-- Performing Test CXX_WARN_NO_INVALID_OFFSETOF
-- Performing Test CXX_WARN_NO_INVALID_OFFSETOF - Success
-- Performing Test C_WARN_NO_UNUSED_PARAMETER
-- Performing Test C_WARN_NO_UNUSED_PARAMETER - Success
-- Performing Test C_WARN_NO_UNUSED_VARIABLE
-- Performing Test C_WARN_NO_UNUSED_VARIABLE - Success
-- Performing Test C_WARN_NO_UNUSED_MACROS
-- Performing Test C_WARN_NO_UNUSED_MACROS - Success
-- Performing Test C_WARN_NO_MISLEADING_INDENTATION
-- Performing Test C_WARN_NO_MISLEADING_INDENTATION - Success
-- Performing Test C_WARN_NO_MISSING_VARIABLE_DECLARATIONS
-- Performing Test C_WARN_NO_MISSING_VARIABLE_DECLARATIONS - Success
-- Performing Test C_WARN_NO_INCOMPAT_PTR_DISCARD_QUAL
-- Performing Test C_WARN_NO_INCOMPAT_PTR_DISCARD_QUAL - Success
-- Performing Test C_WARN_NO_UNUSED_FUNCTION
-- Performing Test C_WARN_NO_UNUSED_FUNCTION - Success
-- Performing Test C_WARN_NO_INT_TO_VOID_POINTER_CAST
-- Performing Test C_WARN_NO_INT_TO_VOID_POINTER_CAST - Success
-- Performing Test C_WARN_NO_MISSING_PROTOTYPES
-- Performing Test C_WARN_NO_MISSING_PROTOTYPES - Success
-- Performing Test C_WARN_NO_DUPLICATE_ENUM
-- Performing Test C_WARN_NO_DUPLICATE_ENUM - Success
-- Performing Test C_WARN_NO_UNDEF
-- Performing Test C_WARN_NO_UNDEF - Success
-- Performing Test C_WARN_NO_MISSING_NORETURN
-- Performing Test C_WARN_NO_MISSING_NORETURN - Success
-- Performing Test CXX_WARN_NO_UNUSED_PARAMETER
-- Performing Test CXX_WARN_NO_UNUSED_PARAMETER - Success
-- Performing Test CXX_WARN_NO_UNUSED_PRIVATE_FIELD
-- Performing Test CXX_WARN_NO_UNUSED_PRIVATE_FIELD - Success
-- Performing Test CXX_WARN_NO_CXX11_NARROWING
-- Performing Test CXX_WARN_NO_CXX11_NARROWING - Success
-- Performing Test CXX_WARN_NO_NON_VIRTUAL_DTOR
-- Performing Test CXX_WARN_NO_NON_VIRTUAL_DTOR - Success
-- Performing Test CXX_WARN_NO_UNUSED_MACROS
-- Performing Test CXX_WARN_NO_UNUSED_MACROS - Success
-- Performing Test CXX_WARN_NO_UNUSED_VARIABLE
-- Performing Test CXX_WARN_NO_UNUSED_VARIABLE - Success
-- Performing Test CXX_WARN_NO_REORDER
-- Performing Test CXX_WARN_NO_REORDER - Success
-- Performing Test CXX_WARN_NO_COMMENT
-- Performing Test CXX_WARN_NO_COMMENT - Success
-- Performing Test CXX_WARN_NO_UNUSED_TYPEDEFS
-- Performing Test CXX_WARN_NO_UNUSED_TYPEDEFS - Success
-- Performing Test CXX_WARN_NO_UNDEFINED_VAR_TEMPLATE
-- Performing Test CXX_WARN_NO_UNDEFINED_VAR_TEMPLATE - Success
-- Performing Test CXX_WARN_NO_INSTANTIATION_AFTER_SPECIALIZATION
-- Performing Test CXX_WARN_NO_INSTANTIATION_AFTER_SPECIALIZATION - Success
-- Performing Test CXX_WARN_NO_MISLEADING_INDENTATION
-- Performing Test CXX_WARN_NO_MISLEADING_INDENTATION - Success
-- Performing Test C_MACRO_PREFIX_MAP
-- Performing Test C_MACRO_PREFIX_MAP - Success
-- Performing Test CXX_MACRO_PREFIX_MAP
-- Performing Test CXX_MACRO_PREFIX_MAP - Success
-- Performing Test CXX_HAS_SSE
-- Performing Test CXX_HAS_SSE - Success
-- Performing Test CXX_HAS_AVX
-- Performing Test CXX_HAS_AVX - Success
-- Performing Test CXX_HAS_AVX2
-- Performing Test CXX_HAS_AVX2 - Success
-- Tests: Using Python executable: /Users/theothermatt/code/blender-git/blender/../lib/darwin/python/bin/python3.7m
-- Disabling render tests because tests folder does not exist at /Users/theothermatt/code/blender-git/blender/../lib/tests
-- C Compiler:   "AppleClang"
-- C++ Compiler: "AppleClang"

Blender Configuration
=====================

  Build Options:
  - WITH_ALEMBIC                ON
  - WITH_BULLET                 ON
  - WITH_CYCLES                 ON
  - WITH_FFTW3                  ON
  - WITH_FREESTYLE              ON
  - WITH_GMP                    ON
  - WITH_IK_ITASC               ON
  - WITH_IK_SOLVER              ON
  - WITH_INPUT_NDOF             ON
  - WITH_INTERNATIONAL          ON
  - WITH_OPENCOLLADA            ON
  - WITH_OPENCOLORIO            ON
  - WITH_OPENIMAGEDENOISE       ON
  - WITH_OPENVDB                ON
  - WITH_QUADRIFLOW             ON
  - WITH_TBB                    ON
  - WITH_USD                    ON
  - WITH_XR_OPENXR              OFF

  Compiler Options:
  - WITH_BUILDINFO              ON
  - WITH_OPENMP                 ON

  System Options:
  - WITH_INSTALL_PORTABLE       
  - WITH_MEM_JEMALLOC           ON
  - WITH_MEM_VALGRIND           OFF
  - WITH_SYSTEM_GLEW            OFF
  - WITH_X11_ALPHA              
  - WITH_X11_XF86VMODE          
  - WITH_X11_XFIXES             
  - WITH_X11_XINPUT             

  Image Formats:
  - WITH_IMAGE_CINEON           ON
  - WITH_IMAGE_DDS              ON
  - WITH_IMAGE_HDR              ON
  - WITH_IMAGE_OPENEXR          ON
  - WITH_IMAGE_OPENJPEG         ON
  - WITH_IMAGE_TIFF             ON
  - WITH_OPENIMAGEIO            ON

  Audio:
  - WITH_CODEC_AVI              ON
  - WITH_CODEC_FFMPEG           ON
  - WITH_CODEC_SNDFILE          ON
  - WITH_JACK                   OFF
  - WITH_JACK_DYNLOAD           
  - WITH_OPENAL                 ON
  - WITH_SDL                    ON
  - WITH_SDL_DYNLOAD            

  Compression:
  - WITH_LZMA                   ON
  - WITH_LZO                    ON

  Python:
  - WITH_PYTHON_FRAMEWORK       OFF
  - WITH_PYTHON_INSTALL         ON
  - WITH_PYTHON_INSTALL_NUMPY   ON
  - WITH_PYTHON_MODULE          OFF
  - WITH_PYTHON_SAFETY          OFF

  Modifiers:
  - WITH_MOD_FLUID              ON
  - WITH_MOD_OCEANSIM           ON
  - WITH_MOD_REMESH             ON

  OpenGL:
  - WITH_GL_EGL                 OFF
  - WITH_GL_PROFILE_ES20        OFF
  - WITH_GLEW_ES                OFF

  
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/theothermatt/code/blender-git/build_xcode

Thanks for any help you can provide,

Matt

I was waiting for someone using Xcode’s “new build system” to report this. I thought it would get fixed in Xcode 12, and what I have in Xcode 10 is buggy.

Try this:

  • Clean product
  • change file > project settings (if it’s not there, use help > search to find it) > build system > set to legacy
  • change active scheme to datatoc or makesdna or any executable
  • build the scheme. let me know if any executable links.

https://developer.blender.org/D9624

Thanks @ankitm. I’m new to Xcode, wasn’t even aware of the “new build system”. Your fix works, by switching to the legacy build system I can build Blender.

The patch you posted also works for me, with it I can build Blender using the new build system - I’ve commented on the Differential page too.

Matt

1 Like