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> <string>Copyright © 2024 RetroArch. All rights reserved.</string>
<key>NSMainNibFile</key> <key>NSMainNibFile</key>
<string>MainMenu_Metal</string> <string>MainMenu_Metal</string>
<key>NSMicrophoneUsageDescription</key>
<string>Some cores are able to provide microphone input to games.</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
<string>NSApplication</string> <string>NSApplication</string>
<key>RAPortableInstall</key> <key>RAPortableInstall</key>

View File

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

View File

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

View File

@ -18,5 +18,11 @@
<true/> <true/>
<key>com.apple.security.cs.disable-library-validation</key> <key>com.apple.security.cs.disable-library-validation</key>
<true/> <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> </dict>
</plist> </plist>

View File

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

View File

@ -81,6 +81,8 @@
<true/> <true/>
<key>LSSupportsOpeningDocumentsInPlace</key> <key>LSSupportsOpeningDocumentsInPlace</key>
<true/> <true/>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>RetroArch uses direct Bluetooth communication for some types of controllers</string>
<key>NSBonjourServices</key> <key>NSBonjourServices</key>
<array> <array>
<string>_altserver._tcp</string> <string>_altserver._tcp</string>
@ -88,6 +90,8 @@
</array> </array>
<key>NSLocalNetworkUsageDescription</key> <key>NSLocalNetworkUsageDescription</key>
<string>RetroArch uses the local network to find local Netplay participants.</string> <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> <key>NSUserActivityTypes</key>
<array> <array>
<string>ConfigurationIntent</string> <string>ConfigurationIntent</string>