aydenp / FocusPlsNoBadges

(Hackily) Add the 'Hide Notification Badges' Focus mode setting from iOS to macOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MacOS Sonoma Support

benwwalker1 opened this issue · comments

Building the project on Sonoma 14.0, I get the following error:

FocusPlsNoBadges/ModelFiles+Current.swift:15: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=257 "The file “Assertions.json” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=/Users/benwalker/Library/DoNotDisturb/DB/Assertions.json, NSUnderlyingError=0x600003f2c000 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}

I'm not sure if this is a global problem or just one on my local machine. I've tried changing the file's permissions but nothing's been working. Feel free to close this immediately if it's not reproducible.

Thanks!

Building the project on Sonoma 14.0, I get the following error:

FocusPlsNoBadges/ModelFiles+Current.swift:15: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=257 "The file “Assertions.json” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=/Users/benwalker/Library/DoNotDisturb/DB/Assertions.json, NSUnderlyingError=0x600003f2c000 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}

I'm not sure if this is a global problem or just one on my local machine. I've tried changing the file's permissions but nothing's been working. Feel free to close this immediately if it's not reproducible.

Thanks!

Hey, this is resolved by enabling Full Disk Access for the app as per this comment

Thanks so much! Sorry to open a new issue, will close it now.