Run a virtual iPhone on an Apple Silicon Mac.
Swift
Create the mount point before diskutil attaches an image
Maximilian Paßfb5ec4f70e68
diff --git a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherDiskImage.swift b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherDiskImage.swiftindex 3f56b304..9bf90dbe 100644--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherDiskImage.swift+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherDiskImage.swift@@ -143,6 +143,8 @@ extension CryptexFilesystemPatcher {let process = Process()process.executableURL = URL(fileURLWithPath: "/usr/sbin/diskutil")let mountPoint = try createTmpDir().appending(path: "volume")+ // diskutil refuses a mount point that does not exist.+ try FileManager.default.createDirectory(at: mountPoint, withIntermediateDirectories: false)process.arguments = if readonly {["image", "attach", "-mountPoint", mountPoint.path, "-nobrowse",