From c1806ff9944dc03a67508f48c7e4ebae5986fb33 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Mon, 3 Mar 2025 22:46:26 -0500 Subject: [PATCH] apple: add camera entitlements --- pkg/apple/OSX/Info_Metal.plist | 2 ++ pkg/apple/RetroArch.entitlements | 2 ++ pkg/apple/RetroArchAppStore.entitlements | 6 ++++-- pkg/apple/iOS/Info.plist | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pkg/apple/OSX/Info_Metal.plist b/pkg/apple/OSX/Info_Metal.plist index e6aa39b9c2..6c59acfcb7 100644 --- a/pkg/apple/OSX/Info_Metal.plist +++ b/pkg/apple/OSX/Info_Metal.plist @@ -60,6 +60,8 @@ _ra_netplay._tcp + NSCameraUsageDescription + Some cores are able to provide camera input to games. NSHighResolutionCapable NSHumanReadableCopyright diff --git a/pkg/apple/RetroArch.entitlements b/pkg/apple/RetroArch.entitlements index 68fdc5c66c..0e29a8d398 100644 --- a/pkg/apple/RetroArch.entitlements +++ b/pkg/apple/RetroArch.entitlements @@ -14,5 +14,7 @@ com.apple.security.device.audio-input + com.apple.security.device.camera + diff --git a/pkg/apple/RetroArchAppStore.entitlements b/pkg/apple/RetroArchAppStore.entitlements index 8396894fc8..22b486d16b 100644 --- a/pkg/apple/RetroArchAppStore.entitlements +++ b/pkg/apple/RetroArchAppStore.entitlements @@ -24,13 +24,15 @@ com.apple.security.cs.disable-library-validation + com.apple.security.device.audio-input + + com.apple.security.device.camera + com.apple.security.files.user-selected.read-write com.apple.security.network.client com.apple.security.network.server - com.apple.security.device.audio-input - diff --git a/pkg/apple/iOS/Info.plist b/pkg/apple/iOS/Info.plist index 1c369a991d..5251be3bbc 100644 --- a/pkg/apple/iOS/Info.plist +++ b/pkg/apple/iOS/Info.plist @@ -81,6 +81,8 @@ LSSupportsOpeningDocumentsInPlace + NSCameraUsageDescription + Some cores are able to provide camera input to games. NSBluetoothAlwaysUsageDescription RetroArch uses direct Bluetooth communication for some types of controllers NSBluetoothPeripheralUsageDescription