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
#!/bin/sh
set -eu
export PATH=/var/jb/usr/bin:/var/jb/usr/sbin:/var/jb/bin:/var/jb/sbin:/usr/bin:/bin:/usr/sbin:/sbin
# Prepare ElleKit's canonical loader directory for postinst. Some bootstrap
# revisions omit it, while their MobileSubstrate compatibility path may be a
# dangling symlink. The tweak is copied here only after dpkg has cleaned paths
# owned by 1.0, avoiding an upgrade-time alias collision.
mkdir -p /var/jb/usr/lib/TweakInject
# Some system and bootstrap combinations leave /var/root at 0750. Virtual Mac
# runs as mobile and must traverse it to execute the root-owned setuid restore
# launcher. Add traverse permission only; this does not permit directory
# listing and preserves every existing owner/group permission bit. Do this
# unconditionally so repair does not depend on a bootstrap's `su` behavior.
if test -d /var/root; then
chmod o+x /var/root
fi
killall VirtualMac 2>/dev/null || true
killall com.apple.Virtualization.VirtualMachine 2>/dev/null || true
killall com.apple.Virtualization.Installation 2>/dev/null || true
killall install-macos 2>/dev/null || true
rm -f /tmp/vmm.stderr.log /tmp/restore-vmm.stderr.log
rm -f /tmp/vmm_ep.txt.* /tmp/installation_ep.txt.*
if test -d /var/jb/Applications/VirtualMac.rootless-backup; then
rm -rf /var/jb/Applications/VirtualMac.rootless-backup
fi
exit 0