From 77cc646ee04515dd59e22c53f98bf06cfd776668 Mon Sep 17 00:00:00 2001 From: Rune Olsen Date: Tue, 21 Jul 2026 14:16:03 +0200 Subject: [PATCH] Re-enable Contacts row to retest on macOS 27 beta 4 isContactsHiddenPendingAppleFix was flipped true on beta 2 after CNContactStore.requestAccess returned instant "Access Denied" under hardened runtime, while Calendar/Reminders/Location worked fine. Rune just installed beta 4 and wants to retest. --- oAI/Services/SettingsService.swift | 7 ++++--- oAI/Views/Screens/SettingsView.swift | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/oAI/Services/SettingsService.swift b/oAI/Services/SettingsService.swift index eadcbe8..876ac0c 100644 --- a/oAI/Services/SettingsService.swift +++ b/oAI/Services/SettingsService.swift @@ -32,9 +32,10 @@ import Security enum PersonalDataTools { /// Hides the entire Personal Data section. Flip to `false` once all four services work. static let isHiddenPendingAppleFix = false - /// Hides only the Contacts row. Contacts TCC still broken under hardened runtime on - /// macOS 27 beta 2 while Calendar/Reminders/Location are fixed. Flip to `false` once fixed. - static let isContactsHiddenPendingAppleFix = true + /// Hides only the Contacts row. Was broken under hardened runtime on macOS 27 beta 2 + /// (Calendar/Reminders/Location were fine). Re-enabled 2026-07-21 to retest on beta 4 — + /// flip back to `true` if `CNContactStore.requestAccess` still fails under signed builds. + static let isContactsHiddenPendingAppleFix = false } @Observable diff --git a/oAI/Views/Screens/SettingsView.swift b/oAI/Views/Screens/SettingsView.swift index 6852497..e09b691 100644 --- a/oAI/Views/Screens/SettingsView.swift +++ b/oAI/Views/Screens/SettingsView.swift @@ -830,9 +830,9 @@ It's better to admit "I need more information" or "I cannot do that" than to fak // MARK: Personal Data // isHiddenPendingAppleFix hides the entire section (macOS 27 beta TCC bug). - // isContactsHiddenPendingAppleFix hides just the Contacts row (still broken in beta 2 - // under hardened runtime while Calendar/Reminders/Location are fixed). Flip each flag - // to false once Apple ships a fix. + // isContactsHiddenPendingAppleFix hides just the Contacts row — was broken in beta 2 + // under hardened runtime while Calendar/Reminders/Location were fixed. Re-enabled + // 2026-07-21 to retest on beta 4; flip back to true if it regresses. if !PersonalDataTools.isHiddenPendingAppleFix { Divider() @@ -854,7 +854,7 @@ It's better to admit "I need more information" or "I cannot do that" than to fak .help("Beta Feature. May change.") } } - Text("Let the AI access your Calendar, Reminders, and Location & Maps to answer questions about your schedule and surroundings. Each service is opt-in and uses standard macOS permission prompts. This functionality is in beta and may change.") + Text("Let the AI access your Calendar, Reminders, Contacts, and Location & Maps to answer questions about your schedule and surroundings. Each service is opt-in and uses standard macOS permission prompts. This functionality is in beta and may change.") .font(.system(size: 14)) .foregroundStyle(.secondary) .fixedSize(horizontal: false, vertical: true)