Giter VIP home page Giter VIP logo

virtualbuddy's Introduction

VirtualBuddy

VirtualBuddy can virtualize macOS 12 and later on Apple Silicon, with the goal of offering features that are useful to developers who need to test their apps on multiple versions of macOS, especially betas.

System Requirements

  • Apple Silicon Mac
  • macOS 12.3 or later
  • In order to install a version of macOS that's newer than the version running on the host (for example, macOS 13 VM in VirtualBuddy running on macOS 12), Xcode is required; Xcode beta may be required for installing macOS betas (FB11061314)
  • In order to install a Linux distro, macOS 13 is required

Download

VirtualBuddy is free and open-source. If you'd like to support its development, you may purchase it on Gumroad. If you'd just like to download the latest version, go to GitHub releases.

Feature Checklist

  • Ability to boot any version of macOS 12 or macOS 13, including betas
  • Ability to boot some ARM-based Linux distros (tested with Ubuntu Server and Ubuntu Desktop)
  • Built-in installation wizard
    • Select from a collection of restore images available on Apple's servers
    • Install the latest stable version of macOS
    • Local restore image IPSW file
    • Custom restore image URL
    • Install a Linux distro from a local .iso file
    • Select from a collection of Linux distros
    • Install Linux from URL
  • Boot into recovery mode (in order to disable SIP, for example)
  • Networking and file sharing support
  • Clipboard sharing
  • Customize virtual machine hardware configuration
  • Edit NVRAM variables

Tips and Tricks

VirtualBuddyGuest app

VirtualBuddy automatically mounts a disk image with the VirtualBuddyGuest app when you boot up a virtual machine running macOS. To install the VirtualBuddyGuest app, just select the "Guest" disk on Finder's side bar then double-click the "VirtualBuddyGuest" app icon.

VirtualBuddyGuest enables clipboard sharing between host and guest and automatic mounting of the shared folders configured for the virtual machine.

Taking Advantage of APFS

Sometimes when trying things out in the OS installed in one of the virtual machines, things might break, requiring a full install of the guest operating system again, which is a pain.

Thanks to APFS cloning though, you can just duplicate a virtual machine within your library folder (using Command + D in Finder), and the copy will take almost no additional disk space. This way you can have a "clean" copy of your VM, do whatever you want with a duplicate of it, and then throw the copy away and re-duplicate the clean version if things break.

Sharing Folders Between Host and Virtual Machine

You can share folders from your Mac to the Virtual Machine and vice-versa using regular macOS file sharing that can be configured in System Preferences/Settings.

When both the Virtual Machine and the host are running macOS 13 or later, it's possible to share folders directly by configuring them in the VM settings within VirtualBuddy before booting up the VM.

To mount shared folders in the VM, run the following command in the VM's Terminal:

mkdir -p ~/Desktop/VirtualBuddyShared && mount -t virtiofs VirtualBuddyShared ~/Desktop/VirtualBuddyShared

Building

Xcode 14.1 is required.

  • Open the VirtualBuddy/Config/Signing.xcconfig file
  • Set the VB_BUNDLE_ID_PREFIX variable to something unique like com.yourname.
  • Select the VirtualBuddy project in the Xcode sidebar
  • Under "Targets", select "VirtualBuddy"
  • Go to the Signing & Capabilities tab and select your development team under Signing > Team
  • Repeat the same process for the "VirtualBuddyGuest" target
  • Build the VirtualBuddy scheme (the one that doesn't have (Managed) in its name)

virtualbuddy's People

Contributors

insidegui avatar p-linnane avatar jamestut avatar franklefebvre avatar biscuitehh avatar pixlwave avatar johnno1962 avatar timsutton avatar wft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.