macostestingvirtualizationmetalvmware-fusion

Running metal-enabled app on macos virtual machine


Is there any virtualization solution that supports metal api?

We have an app that uses Metal internally, and we'd like to test it across different macOS versions. Unfortunately it seems that VirtualBox, Parallels Desktop & VMWare Fusion doesn't enable Metal API in their guest macOS.

How can we test the app without having multiple physical machines or without using dual-boot?


Solution

  • UPDATED ANSWER 2019

    Parallels Desktop v. 15 finally uses Metal. See their blogpost.


    ORIGINAL ANSWER:

    As far as I researched there's no chance of doing so with virtual machines.

    The only feasible work-around we found is to:

    1. find/purchase hi-speed USB drive (or even external SSD)
    2. install various macOS versions on partitions of the USB drive
    3. boot your Mac from the pendrive and select the OS you want to test

    Not ideal, but does the job.