A ~25s `tell application "Notes"` read on the main actor blocks the run loop the app and sync coordinator need (the read silently stalled — no fetch, no error). Run it on a fresh thread via a continuation: NSAppleScript.executeAndReturnError is synchronous and handles its own Apple-event reply, so it keeps the in-process TCC attribution (the grant applies) without blocking the main thread. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| contacts-sync-core | ||
| ical | ||
| icalls | ||
| imail | ||
| imessage | ||
| inotes | ||
| iphoto | ||
| ireminders | ||
| shared | ||