mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-10 03:21:30 -10:00
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.