CLI v1.12.4 Does Not Run On MacBook Using an Apple M2 Chip

I am currently using a MacBook with an Apple M2 Pro processor chip. After installing the WebOS CLI tools and setting the LG_WEBOS_TV_SDK_HOME variable path, I used the ares -V command.

This results in an error output of /opt/webOS_TV_SDK/CLI/bin/ares: line 13: /opt/webOS_TV_SDK/CLI/bin/node: Bad CPU type in executable.

I asked another developer on my team who has an Apple M1 processor chip and the CLI tools seem to be working fine for them. This leads me to believe that Apple M2 chips are not a supported CPU type yet.

Is there work in progress already to support this chip, or can I make a request for it? If you do not believe this is the problem though would you be able to point me in the right direction?

Thank you

Apple Silicon M2 is not yet verified. We plan to update the CLI Installation page after confirmation. But it will take some time. We expect the first quarter of next year. Thank you.

Actually you can simply install Rosetta and then everything else should work

Run the following in a terminal

softwareupdate --install-rosetta

Agree to the terms and conditions by pressing “A” when prompted and hit enter.

Then run again

ares --version to verify that things are ok and you shoud be set.