Commit 4ea5aa8
fix(docs): drop non-existent com.apple.security.screen-capture entitlement (#144)
The README told users to add com.apple.security.screen-capture to
their Entitlements.plist alongside com.apple.security.app-sandbox.
That entitlement key does not exist — Apple's entitlement reference
has never defined a screen-capture entitlement. ScreenCaptureKit is
gated by the user's TCC grant in System Settings, requested via
NSScreenCaptureUsageDescription in Info.plist; no code-signing
entitlement is required on signed or sandboxed apps.
Rewrite the Requirements section to:
- document the required Info.plist key (with example string),
- call out explicitly that no com.apple.security.screen-capture
entitlement exists,
- keep the sandbox entitlement note for apps that opt into the
App Sandbox.
Update the Troubleshooting row 'App crashes after notarization' to
point at the actual cause (missing NSScreenCaptureUsageDescription)
instead of recommending the fake entitlement.
The Tauri example's Entitlements.plist already documents this
correctly (see examples/22_tauri_app/src-tauri/Entitlements.plist);
this commit brings the top-level README in line.
Fixes #144
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent dc68e89 commit 4ea5aa8
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
360 | 373 | | |
361 | 374 | | |
362 | 375 | | |
363 | | - | |
364 | 376 | | |
365 | 377 | | |
366 | 378 | | |
| |||
422 | 434 | | |
423 | 435 | | |
424 | 436 | | |
425 | | - | |
| 437 | + | |
426 | 438 | | |
427 | 439 | | |
428 | 440 | | |
| |||
0 commit comments