It's a momentous day for Mac developers: you can now provision a device running in a VM. Whether you use VirtualBuddy, UTM, or another app, Xcode can now build, run, and debug apps on multiple versions of macOS without having to reboot.

This includes apps that have entitlements for iCloud and other Apple services.

Provisioning for new VMs is automatic, existing VMs need a bit more attention - see the thread for more info.

Thanks to everyone who made this happen!

https://developer.apple.com/forums/thread/787500?answerId=861714022#861714022

Building macOS apps with Xcode 26 … | Apple Developer Forums

@chockenberry Can Xcode build on the host and deploy and debug on the guest, like iOS simulators?
@lettie No, there's no remote debugging support. You can build, put the app on a shared network drive, and launch it from the VM, but no lldb.