People have dreamed of running macOS on iPad for more than a decade. Today, that dream comes true. With Virtual Mac, iPad finally breaks free from iPadOS, enabling pro apps like Xcode, Terminal, Final Cut Pro, Logic Pro, and Pixelmator Pro to run directly on device. Requires iPad Pro (M1, M2) or iPad Air (M1) running iPadOS 14 up to 16.3.1.
Shell
Update 1.2.2
nfzerox1a915a1851bb
diff --git a/LICENSE b/LICENSEindex 46c4151..2b5737f 100644--- a/LICENSE+++ b/LICENSE@@ -1,6 +1,6 @@MIT License-Copyright (c) 2026 nfzerox, qwqVictorVictor, and jamesy0ung+Copyright (c) 2026 nfzerox, qwqVictorVictor, jamesy0ung, ma-syu, and LemomQPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealdiff --git a/README.md b/README.mdindex 8e21f13..df90789 100644--- a/README.md+++ b/README.md@@ -52,7 +52,6 @@ With the latest update, Virtual Mac on iPad also goes beyond what VirtualBuddy aFirst, open Sileo and update to the latest version of Virtual Mac. If the issue remains, try these fixes for common issues:- Virtual Mac does not support the Dopamine-roothide environment. To use Virtual Mac, remove the roothide jailbreak from Dopamine-roothide > Settings > Remove Jailbreak, then [switch to the official version of Dopamine](https://ios.cfw.guide/installing-dopamine-trollstore/).-- If your iPad has 8 GB of RAM, use the recommended 4 GB memory allocation during initial Virtual Mac creation. You can increase the assigned memory after installation.- If you see "[install-launcher failed: Permission denied](https://github.com/nfzerox/VirtualMacOniPad/issues/10)", update to the latest version of Virtual Mac. If the issue remains, open Filza and [follow this screenshot](VirtualMac/screenshots/troubleshooting/troubleshooting-permission.png), changing access permissions of `/var/root` to "Read, Execute" for "Others".- If you see "[Unexpected device state 'DFU' expected 'RestoreOS' (Probably forced into DFU mode externally)](https://github.com/nfzerox/VirtualMacOniPad/issues/11)", update to the latest version of Virtual Mac. If the issue remains, open Sileo > Packages, search for usbmuxd and [temporarily uninstall it](VirtualMac/screenshots/troubleshooting/troubleshooting-usbmuxd.png).- If you see "launcher cannot become root: Operation not permitted" or "Internal Virtualization error. The virtual machine failed to start", and have Choicy installed, open Settings > Choicy > Applications > Virtual Mac, and turn off "Disable Tweak Injection". You can also uninstall Choicy.diff --git a/VirtualMac/scripts/build-guest-tools.sh b/VirtualMac/scripts/build-guest-tools.shindex a643690..d5ae9e4 100755--- a/VirtualMac/scripts/build-guest-tools.sh+++ b/VirtualMac/scripts/build-guest-tools.sh@@ -32,7 +32,7 @@ mkdir -p "$MACOS" "$RESOURCES"cp "$VZ_REPO_ROOT/vz/guest/VirtualMacGuestTools-Info.plist" \"$CONTENTS/Info.plist"plutil -replace CFBundleShortVersionString -string \- "${VZ_RELEASE_VERSION:-1.2.1}" "$CONTENTS/Info.plist"+ "${VZ_RELEASE_VERSION:-1.2.2}" "$CONTENTS/Info.plist"for architecture in arm64 x86_64; doxcrun --sdk macosx clang -arch "$architecture" -fblocks \diff --git a/VirtualMac/scripts/build-ipad-app.sh b/VirtualMac/scripts/build-ipad-app.shindex 940c4b4..b9bd81e 100755--- a/VirtualMac/scripts/build-ipad-app.sh+++ b/VirtualMac/scripts/build-ipad-app.sh@@ -59,7 +59,7 @@ cp "$VZ_BUILD_ROOT/guest-tools/VirtualMacGuestTools.tar.gz" \"$APP/GuestTools/VirtualMacGuestTools.tar.gz"sips -Z 320 "$VZ_REPO_ROOT/assets/VirtualMacTemplate.png" \--out "$APP/VirtualMacTemplate.png" >/dev/null-APP_VERSION="${VZ_RELEASE_VERSION:-1.2.1}"+APP_VERSION="${VZ_RELEASE_VERSION:-1.2.2}"APP_BUILD="$(git -C "$VZ_REPO_ROOT" rev-list --count HEAD)"plutil -replace CFBundleShortVersionString -string "$APP_VERSION" \"$APP/Info.plist"diff --git a/VirtualMac/scripts/build-ipad-deb.sh b/VirtualMac/scripts/build-ipad-deb.shindex f6d73c3..e607a7b 100755--- a/VirtualMac/scripts/build-ipad-deb.sh+++ b/VirtualMac/scripts/build-ipad-deb.sh@@ -31,7 +31,7 @@ app_build="$(plutil -extract CFBundleVersion raw \"$VZ_BUILD_ROOT/ipad-app/VirtualMac.app/Info.plist")"[[ "$app_build" == "$commit_count" ]] ||die "app build $app_build does not match repository build $commit_count; rebuild the app"-RELEASE_VERSION="${VZ_RELEASE_VERSION:-1.2.1}"+RELEASE_VERSION="${VZ_RELEASE_VERSION:-1.2.2}"if [[ -n "${VZ_PACKAGE_VERSION:-}" ]]; thenVERSION="$VZ_PACKAGE_VERSION"elsediff --git a/VirtualMac/vz/guest/VirtualMacGuestTools-Info.plist b/VirtualMac/vz/guest/VirtualMacGuestTools-Info.plistindex 041c982..902c518 100644--- a/VirtualMac/vz/guest/VirtualMacGuestTools-Info.plist+++ b/VirtualMac/vz/guest/VirtualMacGuestTools-Info.plist@@ -18,7 +18,7 @@<key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key>- <string>1.2.1</string>+ <string>1.2.2</string><key>CFBundleVersion</key><string>1</string><key>LSMinimumSystemVersion</key>diff --git a/VirtualMac/vz/host/VirtualMac-Info.plist b/VirtualMac/vz/host/VirtualMac-Info.plistindex 5080b02..1012d41 100644--- a/VirtualMac/vz/host/VirtualMac-Info.plist+++ b/VirtualMac/vz/host/VirtualMac-Info.plist@@ -51,7 +51,7 @@</dict></array><key>CFBundleShortVersionString</key>- <string>1.2.1</string>+ <string>1.2.2</string><key>CFBundleVersion</key><string>1</string><key>LSRequiresIPhoneOS</key>diff --git a/VirtualMac/vz/host/VirtualMacApp.m b/VirtualMac/vz/host/VirtualMacApp.mindex 2995e03..733fe0c 100644--- a/VirtualMac/vz/host/VirtualMacApp.m+++ b/VirtualMac/vz/host/VirtualMacApp.m@@ -3672,11 +3672,15 @@ static void VZWriteInstallationAttempt(NSString *attemptPath, NSString *state,[self presentViewController:exists animated:YES completion:nil];return;}- NSString *cpu = [options[@"CPUCount"] stringValue];- uint64_t runtimeMemory = [options[@"MemorySize"] unsignedLongLongValue];- uint64_t restoreMemory = VZRestoreImageUsesMontereyProfile(url.path)- ? MIN(runtimeMemory, 4ULL << 30) : runtimeMemory;- NSString *memory = [@(restoreMemory) stringValue];+ // Restoring macOS temporarily runs both the installation service and a+ // VMM. Passing a large runtime configuration through here can exhaust an+ // 8 GB iPad before RestoreOS starts. Use the installer's stock 4-core,+ // 4-GiB configuration for every restore; the selected runtime values stay+ // in installationOptions and are written to the completed bundle below.+ static const NSUInteger restoreCPUCount = 4;+ static const uint64_t restoreMemorySize = 4ULL << 30;+ NSString *cpu = [@(restoreCPUCount) stringValue];+ NSString *memory = [@(restoreMemorySize) stringValue];NSString *storage = [options[@"StorageSize"] stringValue];const char *launcher ="/var/root/VirtualMac/install/install-launcher";@@ -3746,9 +3750,11 @@ static void VZWriteInstallationAttempt(NSString *attemptPath, NSString *state,VZWriteInstallationAttempt(attemptPath, @"failed", @{@"Failure": failure});}});- if (restoreMemory != runtimeMemory)- printf("[VirtualMac] Monterey restore memory=%lluMiB runtime-memory=%lluMiB\n",- restoreMemory >> 20, runtimeMemory >> 20);+ printf("[VirtualMac] restore resources cpu=%lu memory=%lluMiB; "+ "runtime resources cpu=%llu memory=%lluMiB\n",+ (unsigned long)restoreCPUCount, restoreMemorySize >> 20,+ [options[@"CPUCount"] unsignedLongLongValue],+ [options[@"MemorySize"] unsignedLongLongValue] >> 20);UIApplication.sharedApplication.idleTimerDisabled = YES;self.installationAttemptPath = attemptPath;self.installationRestoreImagePath = url.path;diff --git a/VirtualMac/vz/host/VirtualMacControl-Info.plist b/VirtualMac/vz/host/VirtualMacControl-Info.plistindex 6794eee..a573e41 100644--- a/VirtualMac/vz/host/VirtualMacControl-Info.plist+++ b/VirtualMac/vz/host/VirtualMacControl-Info.plist@@ -18,7 +18,7 @@<key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key>- <string>1.2.1</string>+ <string>1.2.2</string><key>CFBundleVersion</key><string>1</string><key>LSMinimumSystemVersion</key>