The encountered error is because your MAC Apple Silicon host computer doesn't have all the tools that Arduino Developement software requires. To resolve the issue program named Rosetta needs to be installed.
Steps for manually installing Rosetta:
- Open Terminal (instructions here).
- Type the following command in the Terminal window:
softwareupdate --install-rosetta.
3. Press the Enter key.
4. Accept the license agreement with Apple.
5. Wait for the installation to finish.
You can also skip the license agreement by providing an additional flag:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license