Last active
October 16, 2024 02:00
-
-
Save gubatron/5512786ff01885c32247ccecd4c3c369 to your computer and use it in GitHub Desktop.
An example Entitlements.plist file to allow a desktop app to run a Java Runtime Environment on a signed .app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<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.allow-dyld-environment-variables</key> | |
<true/> | |
<key>com.apple.security.cs.disable-library-validation</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
once your app bundle is ready, you need to copy this file inside of it, sign it, and then remove the Entitlements.plist file.
Here's a script I use:
It's called from another script which CDs into our target app and executes
signFrostWireApp.sh
relative from that path: