Skip to content

Commit 5e3b45f

Browse files
committed
fix: add explicit macOS sandbox entitlements — client only, no server
Apple rejected v1.5.9 for com.apple.security.network.server entitlement (Guideline 2.4.5(i)). NostrKey only makes outgoing WebSocket connections, not incoming. Explicitly set app-sandbox + network.client on both macOS targets to prevent Xcode from auto-adding network.server.
1 parent 0309b1f commit 5e3b45f

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict/>
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.network.client</key>
8+
<true/>
9+
</dict>
510
</plist>
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict/>
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.network.client</key>
8+
<true/>
9+
</dict>
510
</plist>

0 commit comments

Comments
 (0)