Skip to content

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
508 B
Raw Blame
#!/bin/bash

set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
# shellcheck source=../lib/common.sh
source "$SCRIPT_DIR/../lib/common.sh"

need_command sshpass

case "${1:-}" in
    ssh)
        shift
        real_mac_ssh "$@"
        ;;
    scp)
        shift
        real_mac_scp "$@"
        ;;
    *)
        echo "usage: scripts/development/real-mac.sh ssh '<command>'" >&2
        echo "       scripts/development/real-mac.sh scp <source> <destination>" >&2
        exit 2
        ;;
esac