kershner / screenBloom

Fake Ambilight for Philips Hue via Python

Home Page:http://www.screenbloom.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work on macOS Catalina: never-ending "would like to record this computer's screen" alerts

ryandesign opened this issue · comments

After many years on macOS High Sierra (10.13.6) I updated to macOS Catalina (10.15.7). Now screenBloom doesn't work. When I launch it, it does open its web page into Safari, but when I click the Start button, it sets my Hue bulbs to a whitish color and a system alert is displayed saying:

"screenBloom.app" would like to record this computer's screen.

Grant access to this application in Security & Privacy preferences, located in System Preferences.

Screen Shot 2021-12-06 at 21 50 27

If I click Open System Preferences, System Preferences opens to the Security & Privacy preference pane's Privacy tab, but screenBloom.app has not been added to the list of apps that can be allowed to record the screen, so there is no checkbox for me to check to allow it. I also cannot drag the screenBloom.app icon from the Finder into this list to allow it.

Whether I click Open System Preferences or Deny in the system alert, it immediately reappears. Only if I press screenBloom's Stop button do the endless system dialogs stop appearing.

I read that one could use tccutil reset ScreenCapture [bundle identifier] to tell the OS to forget any screen capture permissions granted to a given app. Since screenBloom's bundle identifier is currently "screenBloom" I ran tccutil reset ScreenCapture screenBloom, which responded Successfully reset ScreenCapture approval status for screenBloom however this didn't seem to fix anything.

I force-quit screenBloom, edited its Info.plist to change its bundle identifier to "com.screenbloom.screenBloom", compressed the app, deleted the app, emptied the Trash, and then uncompressed the app to reinstall it and presumably to get the OS to notice that its bundle identifier has changed. Now when it prompts me to open System Preferences, screenBloom is in the list, and I can check the checkbox. System Preferences informs me that I must quit the app before the changes take effect, so I force-quit screenBloom again and launch it again. Unfortunately, even though access is now ostensibly allowed according to System Preferences, there is still a never-ending series of "would like to record this computer's screen" alerts and based on the color of my lights screenBloom still does not actually have access to the screen data.