Why are accessibility settings being ignored

I regularly have to visit Accessibility settings in macOS for certain apps (e.g. Typinator and BetterSnapTool) to turn the setting off and back on again.




I am using macOS Ventura 13.6.7 on a 2017 Intel-based iMac 18,3.


According to the app developers, the issue lies with macOS:


Why does Typinator fail to work?

There is a bug of macOS’s handling of application permissions, which can prevent some applications (such as Typinator) to work properly. Sometimes it can happen that the permissions get lost, although they are selected in the system preferences.


Excerpt from: https://ergonis.com/typinator/faq


The above issue has remained unresolved now for many months. Is there anything one can do for Apple to finally address this problem or does anyone know of a way to permanently fix the issue (without removing the apps!) ?

iMac 27″ 5K, macOS 13.6

Posted on Jun 18, 2024 9:54 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 27, 2024 6:10 PM

numbles45 wrote:

The interesting question that you seem to have skipped was: "the apps and System Preferences aren't querying the TCC permissions from the same database. How can that be?"

There's only one database to query. However, there may be multiple apps. For example, many modern apps are "electron" apps. They consist of an HTML web browser wrapper around a cross-platform core. Even if they aren't truly "electron", sometimes apps use a similar strategy with a native UI wrapper around what is essentially a command-line tool. When they do this, those are multiple apps. Which one gets the TCC permissions? (That's a rhetorical question, by the way. No one knows the answer, including the developer.)


Your response from BetterSnapTool is pretty good:

It can also happen if the code signature of an app changes for whatever reason (e.g. buggy update, broken disk, some other software that „accidentally“ breaks the signature). At least for BetterSnapTool the code signature hasn’t changed through updates.

There are a lot of those "whatever reasons". And it just so happens that these kinds of "haxie" tools are more likely than most to employ these techniques. So, in addition to what I mentioned above, consider some of these other scenarios:

buggy update - Any kind of auto-update mechanism is likely to trigger this. In theory, it is possible to update an app and its signature. It just doesn't happen bloody often.

broken disk - I have no idea what they are talking about there.

some other software that "accidentally" breaks the signature - All kinds of possibilities here. Ironically enough, some of these are these same system modification apps that are so popular. Monolingual will remove "foreign" (i.e. non-English) language from apps - breaking the signature. Little Snitch can interfere with virtually everything. Any kind of "security" software can cause similar problems.


Apple's Gatekeeper software lives up to its name. It checks an app's signature after an app has been first downloaded. But after that, Apple typically doesn't verify signatures. Apps also typically don't verify their signature either. So if a signature becomes invalid for whatever reason, nobody is going to know. But something like TCC that double-checks signatures is going to be the one to find it. Plus, sometimes these apps may try some tricks to avoid Gatekeeper problems. That's good for avoiding Gatekeeper problems, but not for avoiding TCC problems.


I’d really like to know whether this is something that needs to be addressed by Apple or if app developers are missing something here and need to be helped.

Does it matter? Whether the ultimate cause is Apple or 3rd party developers, there's nothing you can do to affect any change. Apple's software could very well have bugs. So could 3rd party apps. Every app is different. Can you use command line tools to hack around on the database and fix it for a time? Maybe.


I think one thing you can do is be careful with auto-updates for these kinds of apps. I think that would go a long ways towards alleviating this problem. Next time one breaks during an update, make a note of it. Uninstall the app completely, restart, then reinstall. I suspect you might find that certain apps are more likely to exhibit this particular problem than others. If that happens, then you might lean a little bit closer towards it being the fault of 3rd party developers. But still, it won't really mean anything.

22 replies

Jun 26, 2024 8:12 AM in response to IdrisSeabright

Just for the fun of it and to demonstrate was GPT Chatbot can produce.


I am responsible for this content, I just used the very basic of basic wording


Q - " Causes of Changes to the TCC Database: "


A - ChatGPT

Changes to the TCC (Transaction Coordination Component) database can occur due to various reasons, typically related to updates, maintenance, or specific events within a system or application. Here are some common causes of changes to the TCC database:

  1. System Updates and Upgrades: When software applications that interact with the TCC database are updated or upgraded, it may require corresponding changes to the database schema or data structure. This ensures compatibility and often introduces new features or improvements.
  2. Bug Fixes: Corrections to software bugs or issues may necessitate changes to the TCC database schema or data to resolve issues with data integrity, functionality, or security.
  3. New Features or Enhancements: Introducing new features or enhancing existing ones often involves modifications to the TCC database. This includes adding new tables, columns, or relationships to support additional functionality.
  4. Data Migration: Sometimes, data needs to be migrated from one database or schema to another. This could be due to changes in underlying infrastructure, consolidation of databases, or adoption of new technologies.
  5. Performance Optimization: Changes may be made to optimize the performance of the TCC database. This can include indexing strategies, partitioning data, or denormalizing tables to improve query speed and efficiency.
  6. Compliance and Regulations: Changes in regulatory requirements or compliance standards may necessitate updates to the TCC database schema or data to ensure legal adherence and data security.
  7. Business Requirements: Changes in business processes or requirements often lead to corresponding changes in the TCC database. This could involve restructuring data to better align with operational needs or reporting requirements.
  8. Security Updates: Enhancements or changes to security protocols, such as encryption methods or access controls, may require updates to the TCC database schema or data to enhance data protection.
  9. User Feedback: Feedback from users or stakeholders may prompt changes to the TCC database to improve usability, data accuracy, or to address specific user needs.
  10. Data Import/Export: Importing or exporting data to or from the TCC database as part of data synchronization, backups, or integration with other systems can trigger changes to accommodate data transformation or mapping requirements.


Jun 26, 2024 8:21 AM in response to numbles45

numbles45 wrote:

The interesting question that you seem to have skipped was: "the apps and System Preferences aren't querying the TCC permissions from the same database. How can that be?"

I skipped that because it wasn't what I was replying to. My reply was specifically addressing the use and reliability of information acquired from ChatGPT.

The ChatGPT info just tells me that, in the absence of any update or manual intervention, the TCC database can get corrupted. Unfortunately, it doesn't say how or answer the above question.

The ChatGPT answer told you a whole bunch of things that may or may not be relevant or accurate.

Jun 26, 2024 9:56 AM in response to Lawrence Finch

Narrowing the issue is precisely what I’m trying to do as I’m receiving conflicting information. I haven’t deliberately decided to make this an incremental process and along the way I’m having to learn new concepts to me. Whilst some answers may provide a temporary fix (via Safe mode or tccutil), it’s not permanent and I’m still hopeful that a more durable solution can be found. I’d really like to know whether this is something that needs to be addressed by Apple or if app developers are missing something here and need to be helped. I’m not asking for anything else!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why are accessibility settings being ignored

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.