Run a virtual iPhone on an Apple Silicon Mac.
Swift
refactor(devices): group the host capability bridges under sources/vphone-cli/Devices/
Lakrcda96bef2f23
diff --git a/research/0_binary_patch_comparison.md b/research/0_binary_patch_comparison.mdindex 055a56f4..5db6d783 100644--- a/research/0_binary_patch_comparison.md+++ b/research/0_binary_patch_comparison.md@@ -844,7 +844,7 @@ cache rebuild.- `patch_sandbox_hooks_extended`- `patch_post_validation_additional`- 2026-03-07 host-side note:- - reviewed private Virtualization.framework display APIs against the recorder pipeline in `sources/vphone-cli/VPhoneScreenRecorder.swift`.+ - reviewed private Virtualization.framework display APIs against the recorder pipeline in `sources/vphone-cli/Devices/VPhoneScreenRecorder.swift`.- replaced the old AppKit-first recorder path with a private-display-only implementation built around hidden `VZGraphicsDisplay._takeScreenshotWithCompletionHandler:` capture.- added still screenshot actions that can copy the captured image to the pasteboard or save a PNG to disk using the same private capture path.- `make build` is used as the sanity check path; live VM validation is still needed to confirm the exact screenshot object type returned on macOS 15.diff --git a/sources/vphone-cli/VPhoneCameraServer.swift b/sources/vphone-cli/Devices/VPhoneCameraServer.swiftsimilarity index 100%rename from sources/vphone-cli/VPhoneCameraServer.swiftrename to sources/vphone-cli/Devices/VPhoneCameraServer.swiftdiff --git a/sources/vphone-cli/VPhoneFrameProducer.swift b/sources/vphone-cli/Devices/VPhoneFrameProducer.swiftsimilarity index 100%rename from sources/vphone-cli/VPhoneFrameProducer.swiftrename to sources/vphone-cli/Devices/VPhoneFrameProducer.swiftdiff --git a/sources/vphone-cli/VPhoneLocationProvider.swift b/sources/vphone-cli/Devices/VPhoneLocationProvider.swiftsimilarity index 100%rename from sources/vphone-cli/VPhoneLocationProvider.swiftrename to sources/vphone-cli/Devices/VPhoneLocationProvider.swiftdiff --git a/sources/vphone-cli/VPhoneScreenRecorder.swift b/sources/vphone-cli/Devices/VPhoneScreenRecorder.swiftsimilarity index 100%rename from sources/vphone-cli/VPhoneScreenRecorder.swiftrename to sources/vphone-cli/Devices/VPhoneScreenRecorder.swiftdiff --git a/sources/vphone-cli/VPhoneTouchIDMonitor.swift b/sources/vphone-cli/Devices/VPhoneTouchIDMonitor.swiftsimilarity index 100%rename from sources/vphone-cli/VPhoneTouchIDMonitor.swiftrename to sources/vphone-cli/Devices/VPhoneTouchIDMonitor.swift