Skip to content

Commit 96b3612

Browse files
committed
Add apple entitlements
1 parent c4d17f3 commit 96b3612

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/release-packages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
125125
[package.metadata.packager.macos]
126126
signing-identity = "${APPLE_SIGN_IDENTITY}"
127+
entitlements = "entitlements.plist"
127128
EOF
128129
129130
- name: Install cargo-packager

src/entitlements.plist

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<!-- Load DuckDB extensions signed by other teams -->
6+
<key>com.apple.security.cs.disable-library-validation</key>
7+
<true/>
8+
9+
<!-- Outgoing connections (to databases, APIs, etc.) -->
10+
<key>com.apple.security.network.client</key>
11+
<true/>
12+
13+
<!-- File read/write (opening/saving .db files, CSVs, exports) -->
14+
<key>com.apple.security.files.user-selected.read-write</key>
15+
<true/>
16+
</dict>
17+
</plist>

0 commit comments

Comments
 (0)