Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

ming900518/macOS-Virtual-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

macOS Virtual Machine


Use VirtualApple edited by me, VirtualApple or MacVM instead if you want a much stable experience.


A ARM macOS Virtual Machine, using macOS 12's new Virtualization framework.
I copied KhaosT's code from here, all I did is change some path, add some entitlements and add a simple GUI.

I successfully created a macOS 12 Virtual Machine!
Thanks @KhaosT for sharing his code, he make this possible. pic.twitter.com/nDD5IMzhlb

— Ming Chang (@mingchang137) June 29, 2021

Screen Shot 2021-06-30 at 3 04 50 PM

Requirements

  • Apple Silicon Mac (running macOS 12)
  • Xcode 13
  • Apple Configurator 2
  • macOS 12 IPSW
  • a empty dmg image (This will be your system storage, name it disk.dmg, you can create it from Disk Utility)

First Time Setup

  1. Clone this project
  2. Run (This project works on my Mac but might not run on yours)
  3. Quit the app when "Virtual Machine" window showed up, move disk.dmg into the app's container
  4. Run it again
  5. Open Apple Configurator 2, if everything works, There should have a VirtualMac in DFU mode
  6. Temporary disable macOS Firewall and iCloud Private Relay (Apple Configurator 2 can't restore VM with those features enabled)
  7. Drag macOS 12 IPSW file into Apple Configurator 2, click Restore to install macOS
  8. When it's done, you should see a purple window greeting to you. Bon Appétit!

It's not working / Apple Configurator 2 keeps failing!

Try removing aux.img in the app's container, restart the app and using "Start Virtual Machine Manually" function in the menu bar before restoring.

Special thanks to KhaosT, his code make this possible, here is the project made by him, provides better GUI.

About

A ARM macOS Virtual Machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages