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

Add TweakInject symlinks for VZKeyboardPassthrough in iPad deb

qwqVictora07c1a94d524
diff --git a/VirtualMac/scripts/build-ipad-deb.sh b/VirtualMac/scripts/build-ipad-deb.sh
index 29deade..826d4a4 100755
--- a/VirtualMac/scripts/build-ipad-deb.sh
+++ b/VirtualMac/scripts/build-ipad-deb.sh
@@ -50,6 +50,7 @@ mkdir -p \
"$STAGE/var/jb/Library/LaunchDaemons" \
"$STAGE/var/jb/basebin/LaunchDaemons" \
"$STAGE/var/jb/Library/MobileSubstrate/DynamicLibraries" \
+ "$STAGE/var/jb/usr/lib/TweakInject" \
"$STAGE/var/jb/usr/lib" \
"$STAGE/var/jb/usr/libexec" \
"$STAGE/var/jb/usr/sbin" \
@@ -99,7 +100,8 @@ install -m 755 "$VZ_BUILD_ROOT/ipad-tweak/VZKeyboardPassthrough.dylib" \
"$STAGE/var/jb/Library/MobileSubstrate/DynamicLibraries/VZKeyboardPassthrough.dylib"
install -m 644 "$VZ_BUILD_ROOT/ipad-tweak/VZKeyboardPassthrough.plist" \
"$STAGE/var/jb/Library/MobileSubstrate/DynamicLibraries/VZKeyboardPassthrough.plist"
-
+ln -s ../../../Library/MobileSubstrate/DynamicLibraries/VZKeyboardPassthrough.dylib "$STAGE/var/jb/usr/lib/TweakInject/VZKeyboardPassthrough.dylib"
+ln -s ../../../Library/MobileSubstrate/DynamicLibraries/VZKeyboardPassthrough.plist "$STAGE/var/jb/usr/lib/TweakInject/VZKeyboardPassthrough.plist"
# Never package host filesystem metadata. Component builders also remove it
# before signing, but this catches metadata from every independently built
# app, XPC, framework, and packaging input.