Skip to content

node for macOS is built with old Xcode (tools) #62984

@abra-code

Description

@abra-code

Version

v24.15.0

Platform

Darwin Tom-MBAir-M2.local 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:33:09 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T8112 arm64

Subsystem

No response

What steps will reproduce the bug?

node tool is built with old Xcode. This has adverse effect on its behavior on newer macOS systems.
I am loading an add-on for creating UI from json with ActionUI library:
https://github.com/abra-code/ActionUI/tree/main/ActionUINodeJS
The actionui.node add-on is loaded by node tool but it displays outdated interface because the distributed node tool itself is built with outdated Xcode. When I build node locally with Xcode 26.4, the interface shown is "modern". See screenshots in "expected behavior" and "actual behavior" sections.

Distributed node tool is built with macOS 15.0 SDK:

otool -l $(which node) | grep -A 4 "LC_BUILD_VERSION\|LC_VERSION_MIN_MACOSX"
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform 1
    minos 13.5
      sdk 15.0

Locally built node with Xcode 26.4 shows:

otool -l ~/Downloads/node-v24.15.0/out/Release/node | grep -A 4 "LC_BUILD_VERSION\|LC_VERSION_MIN_MACOSX"
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform 1
    minos 13.5
      sdk 26.4

How often does it reproduce? Is there a required condition?

It always reproduces with distributed build but it depends on which Xcode version was used to build it.

What is the expected behavior? Why is that the expected behavior?

A macOS UI loaded with 'node' built locally with Xcode 26.x:
Image

What do you see instead?

A macOS UI loaded with distributed node (built with Xcode 15) looks dated:
Image

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions