This article guides on how to enable the access permissions for TeamViewer on macOS 10.14 (Mojave) or higher versions. If you use macOS 10.14 or higher version, it is neccessary to enable the accessibility permissions for TeamViewer, otherwise the TeamViewer will not be installed, or any TeamViewer users connecting to macOS 10.14 or higher version will not get the ability to see or control anything on this mac.
Apple has introduced a security mechanism since macOS 10.14 (Mojave), which requires special access to be granted to remote control applications like TeamViewer.