Files
RetroArch/camera
LibretroAdmin a77faf6744 camera/avfoundation: guard 10.14 authorization APIs with @available
AVCaptureDevice authorizationStatusForMediaType:, requestAccessForMediaType:
completionHandler: and the AVAuthorizationStatus enum are macOS 10.14+ (iOS
7+). Building RetroArch_Metal.xcodeproj against the macOS 10.13 deployment
target emitted 'only available on macOS 10.14 or newer' for each.

Wrap both call sites in if (@available(macOS 10.14, *)), matching the
@available idiom already used in this file. Pre-Mojave macOS had no camera
TCC prompt, so the legacy branch treats access as implicitly granted and
proceeds, preserving behaviour on older systems.
2026-06-17 20:26:51 +02:00
..
2026-03-28 22:40:24 -04:00