Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

build(macos): Add hardened-runtime entitlements for the plugin JIT

l0ng-aib16096acf536
diff --git a/src-tauri/Entitlements.plist b/src-tauri/Entitlements.plist
new file mode 100644
index 000000000..27873b1cb
--- /dev/null
+++ b/src-tauri/Entitlements.plist
@@ -0,0 +1,11 @@
+<?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>
+ <!-- wasmtime (plugin host) compiles WebAssembly to native code at runtime. -->
+ <key>com.apple.security.cs.allow-jit</key>
+ <true/>
+ <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
+ <true/>
+</dict>
+</plist>
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 90acc15ae..308e552a3 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -47,7 +47,11 @@
"license": "Apache-2.0",
"licenseFile": "../LICENSE",
"shortDescription": "An open-source IDE inspired by IntelliJ IDEA",
- "longDescription": "OpenIDEA is an open-source IDE inspired by IntelliJ IDEA. Not affiliated with JetBrains."
+ "longDescription": "OpenIDEA is an open-source IDE inspired by IntelliJ IDEA. Not affiliated with JetBrains.",
+ "macOS": {
+ "entitlements": "./Entitlements.plist",
+ "minimumSystemVersion": "11.0"
+ }
},
"mainBinaryName": "openidea",
"plugins": {