

VBoxManage setextradata “Your VM Name” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1. VBoxManage setextradata “Your VM Name” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “MacBookPro11,3” Replace Your VM Name with the name of your virtual machine and run all of the following commands on your host. Use this command to change to your VirtualBox installation directory. If you get the iCloud unsupported device error, you may have to use a local account and try and add your Apple ID later.

How well it works will depend on which version of the macOS you are using, where you got it and what version of VirtualBox you are running so your results may vary.

You just need to download the macOS ISO file online and then install the operating system on your VM. If you would like to try out the Apple macOS on a virtual machine, you can do so for free using Oracle VirtualBox.
