mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-02 10:09:09 +01:00
AVSampleBufferDisplayLayer only presents IOSurface-backed CVPixelBuffers; the pool omitted kCVPixelBufferIOSurfacePropertiesKey, so frames were accepted (status=.rendering, no error) but never rendered — the PiP window stayed black. Add IOSurface backing and mark each sample buffer DisplayImmediately (no control timebase, live HUD feed). Also wires the PiP Swift files into the Runner / TrainerActivity Xcode targets (GearSnapshot in both; GearSnapshot+LiveActivity in the extension only so Runner needs no ActivityKit). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>