Building wth Xcode 16.3

Just pulled latest dev and trying to build with Xcode 16.3 and I am running into issue with (at the start) to build TBB with these types of errors - anyone else see this or an idea how to resolve it ?

In file included from ../../include/tbb/tbb_stddef.h:452:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:940:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator.h:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocate_at_least.h:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator_traits.h:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/construct_at.h:23:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/new:391:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:431:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/common_type.h:14:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/decay.h:56:27: error: no template named '__libcpp_remove_reference_t'
  typedef _LIBCPP_NODEBUG __libcpp_remove_reference_t<_Tp> _Up;

Are you on an Intel Mac by any chance? Alternatively, do you know what version of TBB is getting pulled down?

I’ve had no issues building with the latest Xcode+TBB on Apple silicon Mac’s, but the build script pulls a much older version on Intel.

As a test, you could also try pulling my branch here that fixes a few dependencies including TBB with a newer version Apple: Update OpenVDB to 12.0.1 by dgovil · Pull Request #3593 · PixarAnimationStudios/OpenUSD · GitHub

Rolling back to 16.2 gets me past the TBB issue. TBB downloaded is 2020.3.1 - now I am stuck at OpenSubDiv issues.. So two steps forward, one step back…

specifically I get this error, which is new to me…

CMake Error at /users/hazzarn/development/local/usd/lib/cmake/OpenSubdiv/OpenSubdivConfig.cmake:11 (message):
  File or directory /include referenced by variable OpenSubdiv_INCLUDE_DIR
  does not exist !

just to close the loop - updating cmake to version 3.31 resolved the CMake issue above…