Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: Clean up and document entitlements #3685

Merged
merged 1 commit into from
Mar 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 27 additions & 2 deletions packaging/macos/entitlements.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,53 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- APP SANDBOX ENTITLEMENTS

See https://developer.apple.com/documentation/security/app_sandbox for details.
-->
<!-- Enable the App Sandbox -->
<key>com.apple.security.app-sandbox</key>
<true/>
<!-- Allow access to the music directory -->
<key>com.apple.security.assets.music.read-write</key>
<true/>
<!-- Allow access to the download directory -->
<key>com.apple.security.files.downloads.read-write</key>
<true/>
<!-- Allow access to firewire devices -->
<key>com.apple.security.device.firewire</key>
<true/>
<!-- Allow interacting with the microphone -->
<key>com.apple.security.device.microphone</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<!-- Allow interacting with USB devices -->
<key>com.apple.security.device.usb</key>
<true/>
<!-- Allow opening outgoing network connections -->
<key>com.apple.security.network.client</key>
<true/>
<!-- Allow access to files selected with an Open/Save dialog -->
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<!-- Persists access permission for files selected with an Open/Save dialog accross restarts -->
<key>com.apple.security.files.bookmarks.app-scope</key>
<true/>

<!-- HARDENED RUNTIME ENTITLEMENTS

See https://developer.apple.com/documentation/security/hardened_runtime for details.
-->
<!-- Allow interacting with the microphone -->
<key>com.apple.security.device.audio-input</key>
<true/>
<!-- Allow execution of JIT-compiled code
This is necessary for controller mappings that use Qt's JavaScript JIT compiler.
-->
<key>com.apple.security.cs.allow-jit</key>
<true/>
<!-- Allow unsigend executable memory
This is necessary for controller mappings that use Qt's JavaScript JIT compiler.
-->
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
Expand Down