How to Create a macOS Sonoma Virtual Machine in VMware Fusion
I got backstabbed by Apple! My 2017 MBP can't upgrade to Sonoma, and since XCode is tied to macOS versions, no system upgrade means no XCode upgrade. The older XCode versions don't support the latest iOS, so I can't deploy apps to my iPhone, turning my old Mac into a pretty paperweight. I agonized over installing a Hackintosh, setting up KVM passthrough, or using a virtual machine for ages. In the end, I decided to install the latest XCode on a macOS Sonoma virtual machine. It's not ideal, but hey, it works!🐶🐶
Please note: The software used in this post is VMware Fusion 13.5.2, the virtual machine system version is macOS Sonoma 14.5, and the host machine is a 2017 MacBook Pro running macOS Ventura 13.6.7. Please be aware of the timing.
This blog post is translated from my Chinese blog post, the content in the images used in the post may still be in Chinese, sorry for the inconvenience.
Download the VMware Fusion Installation Package
Ever since VMware got snatched up by Broadcom last year, their website turned into a hot mess. Downloading the installation package? Oh, it’s a whole circus act now. You get redirected to the Broadcom site, then you have to register a Broadcom account. Super annoying! And the cherry on top? After registering, clicking the “list all products” button does absolutely nothing. You can’t download a thing—just a steaming pile of frustration. I recommend finding a reliable third-party download site instead. But hey, if you want to higher your blood pressure, give the official site a whirl!
Activate VMware Fusion
In May, VMware announced that it’s free for personal use, so when the activation page pops up during installation, you don’t need to enter an activation code. Just select the Personal Use
option to activate it.
Download macOS Installation Files
Before starting the virtual machine installation, please obtain the macOS installation files. For detailed instructions, refer to my previous blog post: How to Download and Create a macOS Sonoma Installation ISO Image.
Configure the Virtual Machine
VMware Fusion natively supports installing macOS virtual machines, so unlike Workstation, you don’t need to use an unlocker. Just follow these steps, and leave any unspecified settings at their default values:
- On the Select the Installation Method page, select
Create a custom virtual machine
. - On the Choose Operating System page, choose
Apple OS X
->macOS 14
. - On the Choose a Virtual Disk page, choose
Create a new virtual disk
. - Complete the virtual machine configuration.
- Do not start the virtual machine yet. If it has already started, shut it down completely (do not suspend it).
- Click the
Settings
button in the top menu bar to configure the VM. If the VM is running, the settings page will be grayed out and unchangeable. - Adjust the CPU count, memory, and virtual hard disk size as needed.
- In
CD/DVD(SATA)
, select the macOS installation image obtained earlier, and check theConnect CD/DVD Drive
option.
![1.Select create a custom virtual machine](https://s2.loli.net/2024/07/16/4uxgbVHFCcPkQKX.webp)
![2.Select Apple OS X -> macOS 14](https://s2.loli.net/2024/07/16/QjuoCkn1eVqAPS3.webp)
![3.Select create a new virtual disk](https://s2.loli.net/2024/07/16/g6OytREumQjNBiz.webp)
![4.Complete the virtual machine configuration](https://s2.loli.net/2024/07/16/WLXZJ6prOx5sEwq.webp)
![6.1.Click the Settings button in the top menu bar to configure the VM](https://s2.loli.net/2024/07/16/FeBJZ3WCSLEbVrQ.webp)
![6.2.Settings page](https://s2.loli.net/2024/07/16/1AbfjE4vyiazmd3.webp)
![7.1.Adjust the CPU count and memory size as needed](https://s2.loli.net/2024/07/16/1srgYDVbeQXyWPm.webp)
![7.2.Adjust the virtual hard disk size as needed](https://s2.loli.net/2024/07/16/j4eJvaHFhYGlUD9.webp)
![8.Select the macOS installation image](https://s2.loli.net/2024/07/16/Sm3Pb1hQrUIRXw8.webp)
Install macOS VM
- Close the configuration page and start the virtual machine.
- Select
Disk Utility
. - Click the top dropdown menu and choose
Show All Devices
. - Select
VMware Virtual SATA Hard Drive Media
, rename it, and then erase it, keeping the default format and scheme. - Follow the standard installation steps to install
macOS Sonoma
.
![2.Select Disk Utility](https://s2.loli.net/2024/07/16/iHsJgtrIvMnbwkY.webp)
![3.Click the top dropdown menu and choose Show All Devices](https://s2.loli.net/2024/07/16/YtLhyUQxf1VaI8s.webp)
![4.Select VMware Virtual SATA Hard Drive Media, rename it, and then erase it, keeping the default format and scheme](https://s2.loli.net/2024/07/16/1C49wUPHtJZ35Yr.webp)
![5.Follow the standard installation steps to install](https://s2.loli.net/2024/07/16/sTrdJ8eSgbW7V6k.webp)
Install VMware Tools
- After completing the installation and entering the desktop, right-click the installation image at the top right corner of the desktop and eject it.
- On the host machine, open the
Virtual Machine
dropdown menu from the top menu bar and selectInstall VMware Tools
. - Double-click
Install VMware Tools
to start the installation. - During the installation, several permission request pop-ups will appear, including one that requires you to go into the settings. Allow all of them.
- Restart the virtual machine.
![1.Right-click the installation image at the top right corner of the desktop and eject it](https://s2.loli.net/2024/07/16/Im1tpiVS8FBq9gK.webp)
![2.On the host machine, open the Virtual Machine dropdown menu from the top menu bar and select Install VMware Tools](https://s2.loli.net/2024/07/16/2bjFUndiO6X4JtA.webp)
![3.Double-click Install VMware Tools to start the installation](https://s2.loli.net/2024/07/16/Dl7iQkXY1esW4Ec.webp)
Connect to the Network
If there is no network connection, click the Settings
button in the top menu bar, then select Network Adapter
. Choose the Bridged Networking
option under Network Connection
, select Autodetect
, and check the Connect network adapter
box.
![Settings -> Network Adapter](https://s2.loli.net/2024/07/16/1qihBpKv8aJX3Cz.webp)
![Choose the Bridged Networking option under Network Connection, select Autodetect, and check the Connect network adapter box](https://s2.loli.net/2024/07/16/qlMkejoZAfKwLmO.webp)
About 3D Acceleration
By default, macOS virtual machines cannot directly utilize the GPU, so all graphics are laboriously emulated by the CPU, resulting in noticeable lag. Additionally, Sonoma’s default desktop background is a video, which won’t play, leaving a blank white background. Fortunately, since our host machine is a real Mac, we can forcibly enable GPU 3D acceleration by editing the .vmx
file. However, please note that this method is not perfect and may cause crashes. For those interested, you can check out my next blog post for details: Enable 3D Acceleration for macOS Virtual Machines in VMware Fusion.