apple: to use the microphone apple requires we ask, and be entitled (#16964)

This commit is contained in:
Eric Warmenhoven 2024-09-05 01:53:06 -04:00 committed by GitHub
parent 60ee32b879
commit 43e5492002
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 22 additions and 0 deletions

View File

@ -66,6 +66,8 @@
<string>Copyright © 2024 RetroArch. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu_Metal</string>
<key>NSMicrophoneUsageDescription</key>
<string>Some cores are able to provide microphone input to games.</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>RAPortableInstall</key>

View File

@ -4,9 +4,15 @@
<dict>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
</dict>
</plist>

View File

@ -30,5 +30,7 @@
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
</dict>
</plist>

View File

@ -18,5 +18,11 @@
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
</plist>

View File

@ -2053,6 +2053,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
ENABLE_HARDENED_RUNTIME = YES;
};
name = Debug;
};
@ -2062,6 +2063,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
ENABLE_HARDENED_RUNTIME = YES;
};
name = Release;
};

View File

@ -81,6 +81,8 @@
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>RetroArch uses direct Bluetooth communication for some types of controllers</string>
<key>NSBonjourServices</key>
<array>
<string>_altserver._tcp</string>
@ -88,6 +90,8 @@
</array>
<key>NSLocalNetworkUsageDescription</key>
<string>RetroArch uses the local network to find local Netplay participants.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Some cores are able to provide microphone input to games.</string>
<key>NSUserActivityTypes</key>
<array>
<string>ConfigurationIntent</string>