hardwareModel
The Mac hardware model.
Declaration
@NSCopying var hardwareModel: VZMacHardwareModel { get set }Mentioned in
Discussion
When creating a VM, the hardwareModel depends on the restore image that you use to install macOS.
To choose the hardware model, start from VZMacOSRestoreImage.mostFeaturefulSupportedConfiguration to get a supported configuration, then use its VZMacOSConfigurationRequirements.hardwareModel property to get the hardware model.