Installing DSIM cloud CLI (mdc) on Mac OS
I encountered an issue using DSim Cloud CLI on my Mac with an M3 processor. I found a workaround, and I'm creating this community note in case it helps others in the future.
The issue: After installing DSim Cloud CLI, I got the following error when invoking the "mdc" executable:
$ mdc --version
bash: /usr/local/bin/mdc: Bad CPU type in executable
It appears mdc on Mac is not natively compiled for ARM architecture. The solution was to run the following command to enable x86 binary translation with Rosetta:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
After this, the mdc command works normally for me.
Are there any plans to compile mdc natively for newer Mac processors? Thanks!