# Building wth Xcode 16.3

**URL:** <https://forum.aousd.org/t/building-wth-xcode-16-3/2375>\
**Category:** Build and Deployment\
**Created:** [April 14, 2025, 6:10pm UTC](https://forum.aousd.org/t/building-wth-xcode-16-3/2375 "2025-04-14T18:10:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neilh-adsk](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/neilh-adsk/32/21_2.png) [@Neilh-adsk](https://forum.aousd.org/u/Neilh-adsk)\
**Post date:** [April 14, 2025, 6:10pm UTC](https://forum.aousd.org/t/building-wth-xcode-16-3/2375/1 "2025-04-14T18:10:57Z")

</div>

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 ?

```auto
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;

```

---

<div class="post-metadata">

**Author:** ![dhruvgovil](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dhruvgovil/32/3_2.png) [@dhruvgovil](https://forum.aousd.org/u/dhruvgovil)\
**Post date:** [April 15, 2025, 3:30am UTC](https://forum.aousd.org/t/building-wth-xcode-16-3/2375/2 "2025-04-15T03:30:52Z")

</div>

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](https://github.com/PixarAnimationStudios/OpenUSD/pull/3593)

---

<div class="post-metadata">

**Author:** ![Neilh-adsk](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/neilh-adsk/32/21_2.png) [@Neilh-adsk](https://forum.aousd.org/u/Neilh-adsk)\
**Post date:** [April 15, 2025, 1:53pm UTC](https://forum.aousd.org/t/building-wth-xcode-16-3/2375/3 "2025-04-15T13:53:34Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Neilh-adsk](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/neilh-adsk/32/21_2.png) [@Neilh-adsk](https://forum.aousd.org/u/Neilh-adsk)\
**Post date:** [April 15, 2025, 4:02pm UTC](https://forum.aousd.org/t/building-wth-xcode-16-3/2375/4 "2025-04-15T16:02:54Z")

</div>

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

```auto
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 !

```

---

<div class="post-metadata">

**Author:** ![Neilh-adsk](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/neilh-adsk/32/21_2.png) [@Neilh-adsk](https://forum.aousd.org/u/Neilh-adsk)\
**Post date:** [April 16, 2025, 4:42pm UTC](https://forum.aousd.org/t/building-wth-xcode-16-3/2375/5 "2025-04-16T16:42:58Z")

</div>

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