fix(macos): add camera & microphone usage descriptions to Info.plist

macOS 10.14+ terminates the app with SIGABRT when it accesses the camera or microphone without the matching usage-description keys in the bundle's Info.plist. Any VOIP audio/video call therefore crashes on macOS as soon as the capture device is opened (AVCaptureDeviceInput via QVideoInputDevice::start()).

Add NSCameraUsageDescription and NSMicrophoneUsageDescription so the system shows the standard permission prompt instead of aborting the process.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
jolavillette 2026-06-06 13:15:05 +02:00
parent 5374a746e2
commit 5ce0460ee3

View File

@ -18,6 +18,10 @@
<string>com.retroshare</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>RetroShare needs access to your camera for video calls.</string>
<key>NSMicrophoneUsageDescription</key>
<string>RetroShare needs access to your microphone for voice and video calls.</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>