Error when installing in MacOs Sonoma (M2 Macbook Air)

Options

Hello.

I'm trying to install teamviewer in a macbook air (m2) running macos Sonoma and right after the installation is finished I get the following error message

"Unable to start the Teamviewer Service" This Installation of teamviewer is Damaged. Please Reinstall Teamviewer to resolve the issue.

I tried fully uninstalling teamviewer by deleting the app file in the application folder and all other relevant files in the other folders. I then restarted the computer and tried running the installation again, but got the same error message.

I downloaded the latest version from the teamviewer website.

I also tried with teamviewer host and with teamviewer full client.

Any help would be greatly appreciated.