When installing the Nordic Connect for Desktop environment on macOS, a requirement is a running Apple Xcode IDE. The scripts which invoke Xcode (whether doing a manual install or using the simplified procedure available in the Nordic Connect desktop app), invoke the app through its name "Xcode". But if the user is running a beta version of Xcode, the Apple standard for the IDE as installed is "Xcode beta". In this case, the build scripts will fail while trying to build "psutil" and/or "wheel" without any obvious connection to Xcode in the error messages.
Suggest that, at a minimum. a caution note be included in the documentation. Or better, the error messages should be more informative as to the cause. Best, the scripts should be modified to handle this situation without complaint.
Note: A simple workaround is to rename the Xcode app from "Xcode beta" to "Xcode".
Hope this helps,
Mike