Skip to content

Commit

Permalink
macOS: enable microphone capture
Browse files Browse the repository at this point in the history
Fixes #219
  • Loading branch information
osy committed Aug 2, 2022
1 parent edba4eb commit 894eb31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Platform/iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<key>NSLocationWhenInUseUsageDescription</key>
<string>VM background access requires location services. Location data will never leave the device.</string>
<key>NSMicrophoneUsageDescription</key>
<string>VM needs access to microphone.</string>
<string>Permission is required for any virtual machine to record from the microphone.</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
Expand Down
2 changes: 2 additions & 0 deletions Platform/macOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,7 @@
<string>$(TeamIdentifierPrefix:default=invalid.)$(PRODUCT_BUNDLE_PREFIX:default=com.utmapp).UTM</string>
<key>HelperIdentifier</key>
<string>$(PRODUCT_BUNDLE_PREFIX:default=com.utmapp).QEMUHelper</string>
<key>NSMicrophoneUsageDescription</key>
<string>Permission is required for any virtual machine to record from the microphone.</string>
</dict>
</plist>
6 changes: 4 additions & 2 deletions Platform/macOS/macOS-unsigned.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<key>com.apple.security.network.client</key>
Expand Down

0 comments on commit 894eb31

Please sign in to comment.