2.4.2 #8

Merged
rune merged 14 commits from 2.4.2 into main 2026-07-22 15:26:48 +02:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit abf25bd897 - Show all commits
+2 -1
View File
@@ -63,7 +63,8 @@ class ContactsService {
store.requestAccess(for: .contacts) { granted, error in store.requestAccess(for: .contacts) { granted, error in
let after = CNContactStore.authorizationStatus(for: .contacts) let after = CNContactStore.authorizationStatus(for: .contacts)
if let error { if let error {
Log.mcp.error("ContactsService.requestAccess: error=\(error.localizedDescription); granted=\(granted); status after = \(Self.describe(after)) (raw=\(after.rawValue))") let nsError = error as NSError
Log.mcp.error("ContactsService.requestAccess: error=\(error.localizedDescription) domain=\(nsError.domain) code=\(nsError.code) userInfo=\(nsError.userInfo); granted=\(granted); status after = \(Self.describe(after)) (raw=\(after.rawValue))")
} else { } else {
Log.mcp.info("ContactsService.requestAccess: granted=\(granted); status after = \(Self.describe(after)) (raw=\(after.rawValue))") Log.mcp.info("ContactsService.requestAccess: granted=\(granted); status after = \(Self.describe(after)) (raw=\(after.rawValue))")
} }
+1 -1
View File
@@ -12,7 +12,7 @@
<true/> <true/>
<key>com.apple.security.personal-information.reminders</key> <key>com.apple.security.personal-information.reminders</key>
<true/> <true/>
<key>com.apple.security.personal-information.contacts</key> <key>com.apple.security.personal-information.addressbook</key>
<true/> <true/>
<key>com.apple.security.personal-information.location</key> <key>com.apple.security.personal-information.location</key>
<true/> <true/>