The solution was to install Xcode 16.4 alongside Xcode 26 Beta.
If necessary use xcode-select to ensure version 16.4 is the command-line default build tool.
% sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Password:
% xcode-select -p
/Applications/Xcode.app/Contents/Developer