Take stereoscopic (3D) screenshots in the visionOS simulator.
An example screenshot from the visionOS simulator in side-by-side stereo.
Tested on macOS 14 beta 2 / Xcode 15 beta 2.
./build.sh
./inject.sh
# this resprings the simulator
TODO
./screenshot.sh
Screenshots are saved in /tmp/visionos_stereo_screenshot_{time}.png
.
This hooks CompositorService to give backboardd an extra right eye view to render.