Installing macOS 26 (developer.apple.com) on UTM requires a special package for it to work.
You’ll need to install the Device Support (developer.apple.com) package which avoids needing to install the beta version of XCode simply to run the VM. But if you do need/want the beta version of XCode that also will fix trying to run macOS 26 on a VM.